Carbohydrates are the main source of energy for living things and are made of carbon, hydrogen, and oxygen. They include sugars, starches, and fiber and provide 4 calories of energy per gram. Carbohydrates are found in foods like fruits, vegetables, grains, legumes, and dairy products.