A compound has the molecular formula C6H12O6. Which class of organic compounds does it belong to?

Alcohols
Amines
Carbohydrates
Hydrocarbons