Producers form the base of ecological pyramids because they introduce newly fixed organic carbon and chemical energy into the biological system. Plants and algae use photosynthesis, while chemoautotrophs use energy from inorganic oxidation. Consumers and decomposers depend directly or indirectly on this primary production. Decomposers process material from all levels rather than forming a separate basal source. In an energy pyramid, the producer tier represents primary production available before losses through herbivory, respiration, export, and detrital transfer. Energy and matter should not be conflated: nutrients can cycle among levels, but respiratory heat cannot be recycled into chemically useful energy by the community. Pyramid shape is an accounting result with biological causes, including body-size distributions, tissue longevity, consumption, assimilation, respiration, and population turnover. A snapshot may differ seasonally, especially in plankton or annual vegetation, whereas integrated production better represents ecosystem functioning across time. The ten-percent heuristic is useful for prediction but not exact; empirical transfer efficiencies vary with food quality, ectothermy, producer defenses, and detrital routing.
Ref:
Fundamentals of Ecology, Odum & Barrett, 5th Ed., Ch. 3