The carbohydrates are the compounds which provide energy to living cells. They are compounds of carbon, hydrogen and oxygen with a ratio of two hydrogens for every oxygen atom. The carbohydrates we use as foods have their origin in the photosynthesis of plants. They take the form of sugars, starches, and cellulose.