An ecological pyramid is a quantitative representation of the trophic levels of a food chain.
There are three types of ecological pyramids:
The detrivores and decomposers are not always represented in these pyramids but they play an essential role in the cycle of material.
The pyramid of toxins shows the bioaccumulation in individual organisms in a food chain. Its shape is inversed.