The ultimate source of energy for biosphere is solar energy, which is captured by producers (green plants) through photosynthesis and stored in organic compounds. The stored energy in the form of food is transferred from producers to herbivores and then to carnivores.