The first law of thermodynamics, energy cannot be created or destroyed, only transformed, can be demonstrated within a classic food web. Here light energy from the sun is first harnessed as radiant energy by plants and is then converted into chemical energy stored as complex carbohydrates. Some vegetation is eventually consumed by animals. In their process of breaking down the sugars, energy is either released as heat, stored in macromolecules as chemical energy reserves to be used later, or passed along to a predator. Each of these stages in the food chain is referred to as the trophic level. Plants are the producers. The squirrel would be the primary consumer, and the predatory fox would be the secondary consumer. The organic matter that is getting transferred from trophic level to the next is called the biomass - usually measured in energy units, calories, or kilocalories.
However, the transfer of biomass is not linear. After primary producers receive energy from the sun and make food, due to cellular respiration a small amount is transformed into unusable heat energy which is released along with carbon dioxide into the environment. The total light energy harnessed is called the