A carbohydrate (/ˌkɑːrboʊˈhaɪdreɪt/) is a sugar (saccharide) or a sugar derivative. For the simplest carbohydrates, the carbon-to-hydrogen-to-oxygen atomic ratio is 1:2:1, i.e. they are often represented by the empirical formula C(H2O)n. Together with amino acids, fats, and nucleic acids, the carbohydrates are one of the major families of biomolecules.
Carbohydrates perform numerous roles in living organisms. Polysaccharides serve as an energy store (e.g., starch and glycogen) and as structural components (e.g., cellulose in plants and chitin in arthropods and fungi). The 5-carbon monosaccharide ribose is an important component of coenzymes (e.g., ATP, FAD and NAD) and the backbone of the genetic molecule known as RNA. The related deoxyribose is a component of DNA. Saccharides and their derivatives play key roles in the immune system, fertilization, preventing pathogenesis, blood clotting, and development.