In a typical terrestrial grazing sequence, producers convert solar energy into biomass, herbivores consume plant tissue, and carnivores consume herbivores. This ordering describes trophic function rather than a rigid list of species: omnivores may occupy several levels, and most organisms participate in a food web rather than one linear chain. At each transfer, unconsumed biomass enters detritus and much assimilated energy is respired, so energy flux declines toward carnivores even while nutrients cycle back through decomposers. Detrital and grazing channels continually exchange material, because waste and mortality feed decomposers while microbial and detritivore biomass supports predators. Quantitative interpretation requires explicit system boundaries and time scales; otherwise export, migration, storage, or seasonal turnover can appear to violate energy balance. Thermodynamic constraints set broad patterns, but species traits, defenses, body size, habitat structure, and disturbance determine the efficiencies observed in a particular ecosystem. Real communities are networks rather than isolated chains, so omnivory, detrital links, and changes in interaction strength modify the simplified trophic sequence.
Ref:
Fundamentals of Ecology, Odum & Barrett, 5th Ed., Ch. 3