Ecological pyramids (pyramids of numbers, biomass, and energy) graphically represent the trophic structure of an ecosystem. While pyramids of energy are always upright, pyramids of numbers and biomass can be inverted in certain ecosystems or food chains.