An energy pyramid is a graphical representation of the flow of energy through different trophic levels in an ecosystem, illustrating the energy loss at each level. Typically, only about 10% of the energy is transferred from one trophic level to the next, with the rest lost as heat, which explains why ecosystems rarely support more than four or five trophic levels.