At the ecosystem level, energy from sunlight is stored in organic compounds by producers through photosynthesis.

The organic compounds are used by consumers to release energy for work in a process called cellular respiration.

Byproducts of respiration are used as raw material for photosynthesis.

Heat is released into the environment in this cycle.