Photosynthesis is the conversion of energy from the Sun to chemical energy (sugars) by green plants. The "
fuel" for ecosystems is energy from the Sun. Sunlight is captured by green plants during photosynthesis and stored as chemical energy in carbohydrate molecules. The energy then passes through the ecosystem from species to species when herbivores eat plants and carnivores eat the herbivores. And these interactions form food chains.