Pyramids can be used to show a food chain and also include an extra piece of information.
You can have pyramids of numbers, biomass or energy.
Pyramids of numbers and biomass don't necessarily have a pyramid shape. The energy pyramid does, because only 10% of the energy carries to the next level.