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.