Normally, the number of organisms in a food pyramid decreases as the trophic level increases. But in some cases, the pyramid may be inverted, for instance, when the productor is a single tree, and beetles eats its leaves, and birds eat the beetles. There is the biomass pyramid too, that represents the amount of mass present in the organisms of the food chain.