Answer. Both sugar and alcohols contains hydroxyl group (OH-). Water molecule has two O-H bonds and two lone pairs that form hydrogen bonding with other compounds having hydroxyl groups. This unique behavior of water enables it to dissolve such compounds by forming hydrogen bonds with them.