A food web is a map of all the feeding relationships in an ecosystem, showing how energy and nutrients flow from one organism to another through multiple overlapping pathways. Unlike a simple food chain, which traces a single line from plant to herbivore to predator, a food web captures the reality that most animals eat more than one type of food and are eaten by more than one predator. The result is a complex, interconnected network rather than a straight line.
Food Webs vs. Food Chains
A food chain is the simplest way to show who eats whom: grass is eaten by a rabbit, the rabbit is eaten by a fox. Arrows point from the organism being eaten to the one doing the eating, following the direction energy travels. But in nature, that rabbit also eats clover and wildflowers, and the fox also eats mice, birds, and berries. A food web takes all of those individual chains and layers them on top of each other, revealing the full picture of an ecosystem’s feeding connections.
This distinction matters because a single food chain makes an ecosystem look fragile. If you remove one link, everything above it collapses. A food web shows that most predators have backup food sources, and most prey are eaten by multiple predators. That complexity is what gives ecosystems their resilience.
How Energy Moves Through Trophic Levels
Every food web is organized into trophic levels, which are essentially rungs on an energy ladder. At the bottom sit the producers: plants, algae, and phytoplankton that convert sunlight into usable energy. An oak tree, for instance, produces leaves eaten by insects and acorns consumed by squirrels and other mammals.
One level up are the primary consumers, the herbivores. Think leaf-eating insects, grazing deer, or zooplankton filtering algae from lake water. Some omnivores like raccoons and opossums also fall into this category when they feed on plant material.
Secondary consumers eat the herbivores. Snakes, spiders, and small predatory fish are common examples. Above them sit tertiary consumers, often the largest predators in the system: wolves, eagles, sharks, and big cats. These top predators sit at the peak of the web.
Energy transfer between these levels is surprisingly inefficient. On average, only about 10 percent of the energy available at one level passes to the next. The rest is lost as heat during metabolism, excreted as waste, or locked in tissue that never gets consumed. This 10 percent rule is why ecosystems can only support a limited number of trophic levels. There simply isn’t enough energy left to sustain a fifth or sixth layer of predators.
The Role of Decomposers
Decomposers like bacteria, fungi, and certain invertebrates connect to every level of the food web. When any organism dies without being eaten, or when a predator leaves behind waste, decomposers break that material down into basic nutrients that return to the soil or water. Those nutrients then fuel the growth of new producers, completing the cycle. Without decomposers, dead material would pile up and the nutrients locked inside it would never re-enter the web.
Terrestrial ecosystems rely heavily on decomposers. On land, more organic material accumulates as detritus compared to aquatic systems, and decomposer organisms are far more abundant in forests and grasslands than in open water.
Trophic Cascades and Keystone Species
One of the most dramatic features of food webs is the trophic cascade, where the effects of adding or removing a predator ripple down through multiple levels. The classic formulation is simple: predators control herbivore populations, and that control allows plants to thrive. Remove the predators, and herbivore numbers explode, stripping vegetation. This chain of consequences must span at least three feeding levels to qualify as a trophic cascade.
Experimental studies in lakes demonstrated this clearly. When large fish were added to a lake, they ate zooplankton. With fewer zooplankton grazing on algae, algae bloomed. When large fish were removed, zooplankton rebounded and kept algae in check. The predator at the top was indirectly controlling the plant life at the bottom.
Some species have an outsized influence on the structure of their food web. These are called keystone species. Their removal triggers secondary extinctions and widespread disruption far beyond what you’d expect based on their population size alone. The Iberian lynx offers a surprising example: by preying on mid-sized predators that heavily feed on rabbits, the lynx actually increases rabbit populations. Its indirect positive effect on rabbits through suppressing other predators is stronger than its direct negative effect through eating rabbits itself.
How Marine and Land Food Webs Differ
Food webs on land and in water follow noticeably different rules. On land, ecosystems typically form a pyramid shape where plant biomass far exceeds herbivore biomass, which in turn exceeds predator biomass. Aquatic ecosystems often flip this pattern entirely, with more consumer biomass than producer biomass at any given moment. This “inverted pyramid” happens because phytoplankton reproduce roughly 1,000 times faster than forests and 100 times faster than grasslands, so even a small standing stock of phytoplankton can support a large population of grazers.
Aquatic herbivores consume producer biomass at about four times the rate of their terrestrial counterparts. Marine food webs are also more strongly structured by body size: in open water, bigger organisms almost always eat smaller ones, creating a tight correlation between body size and trophic level. On land, that relationship is much looser. A tiny spider can be a secondary consumer sitting above a much larger caterpillar.
Terrestrial plants invest heavily in structural tissues like wood and bark, which are carbon-rich and difficult to digest. Aquatic producers like phytoplankton are packed with photosynthetic tissue that is nutrient-dense and far more edible. This difference in plant quality is a major reason why herbivory is proportionally much greater in water than on land.
Biomagnification of Toxins
Food webs don’t just move energy. They also concentrate pollutants. When a chemical like a pesticide or industrial compound enters the base of a food web, it gets absorbed by phytoplankton or plants in tiny amounts. Herbivores eat vast quantities of those producers, accumulating the chemical in their fatty tissues at higher concentrations. Each step up the web concentrates the toxin further. This process, called biomagnification, means that top predators can carry chemical concentrations millions of times higher than what’s found in the surrounding water.
Data from the Great Lakes food web illustrates this starkly. PCB concentrations measured in parts per million climb at each trophic level, reaching their highest concentrations in the eggs of fish-eating birds like herring gulls. This is why top predators, including humans who eat large predatory fish, face the greatest exposure to persistent environmental toxins.
How Human Activity Reshapes Food Webs
Undisturbed food webs tend to have a specific organizational pattern where a few species are highly connected (serving as hubs with many feeding links) while most species have relatively few connections. This structure makes the web robust against random species losses because the odds of losing a hub are low. Research published in Ecology Letters found that as human disturbance increases, food webs shift toward a more random, homogeneous structure where connections are spread evenly. That shift makes the web more vulnerable because there are no longer resilient hubs holding things together.
Habitat fragmentation hits specialist feeders hardest. Species with narrow diets are the most susceptible to habitat loss because they depend on specific prey that may disappear from fragmented landscapes. Generalist feeders, those with a broad diet, tend to persist longer in disturbed environments.
Why Biodiversity Keeps Food Webs Stable
A food web with more species is generally more stable over time, but the reason is more nuanced than “more species equals better.” The key factor is something ecologists call response diversity: variation in how different species react to the same environmental disturbance. If a drought hits and all the herbivore species decline equally, the web destabilizes. But if some herbivores are drought-tolerant while others aren’t, the tolerant species compensate for the declining ones, keeping the overall system steady.
Research in Proceedings of the Royal Society B found that response diversity is the strongest biological driver of food web stability, with species richness playing a smaller supporting role. Critically, in the absence of response diversity, adding more species to a food web actually decreased stability. It’s not just about having many species. It’s about having species that respond differently to change, so the web can absorb shocks without collapsing.

