An ecological pyramid shows the trophic structure of an ecosystem as a graph representing biomass, organism number, or energy content of each trophic level in a food web. The base of the pyramid represents the producer trophic level, and from there the consumer trophic level is stacked, with the apex representing the highest consumer trophic level.