Carbohydrates are essential macromolecules that are classified into three subtypes: monosaccharides, disaccharides, and polysaccharides.