Quaternary ammonium compounds, also known as quats, are used as disinfectants in restaurants, hospitals and homes. They are also used as surfactants, fabric softeners, and antistatic agents in products like shampoo.