Polyquaternium-7 (PQ-7) is a water-soluble polymer that is commonly used as a conditioning agent and film-forming agent in cosmetic formulations. It is derived from the polymerization of diallyldimethylammonium chloride, resulting in a positively charged molecule.