Nucleic acids and carbohydrates are both types of what?

Nucleic acids and carbohydrates are both types of what?