Macromolecules are essential for various biological functions and are categorized into carbohydrates, proteins, lipids, and nucleic acids. Carbohydrates are primarily responsible for energy storage and cellular recognition and include subgroups such as monosaccharides, disaccharides, and polysaccharides.