thumb|right|Ethylene glycol, a common diol
thumb|right|Ethylene glycol, a common diol
A diol is a chemical compound containing two hydroxyl groups ( groups). An aliphatic diol may also be called a glycol. This pairing of functional groups is pervasive, and many subcategories have been identified. They are used as protecting groups of carbonyl groups, making them essential in synthesis of organic chemistry.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).