Final answer:
Carbohydrates are the macromolecule with hydroxyl groups as its primary functional groups. They serve as an energy source and provide structural support. Examples include glucose, sucrose, and glycogen.
Step-by-step explanation:
The macromolecule with hydroxyl groups as its primary functional groups is carbohydrates. Carbohydrates are a group of macromolecules that serve as a vital energy source and provide structural support in organisms. They are made up of monosaccharides, which are linked by glycosidic bonds formed through dehydration reactions. Examples of carbohydrates include glucose, sucrose, and glycogen.