Food pyramids are shaped upwards because only 10% percent of energy is transferred to the next highest level. For example, a fox that eats a rabbit (herbivore) would receive 10% of the total energy of the rabbit. Also, there are a less number of animals in each level as you move up the food pyramid.