High School · Environmental Science
Ecosystems
How life, energy and matter connect.
On the rocky shore of Tatoosh Island, Washington, an ecologist named Robert T. Paine kept prying purple sea stars off the rocks and throwing them back into the sea. It sounds like a small thing to do. Within a year, the number of species living on those rocks had been cut in half.
How can losing one predator wreck a whole community? To answer that, you need to see an ecosystem the way ecologists do: as a web of living things and their surroundings, held together by flows of energy and cycles of matter. This lesson walks through that web piece by piece, then comes back to Paine's sea stars.
On this page
- 1Biotic and abiotic factors
- 2Food chains and food webs
- 3Trophic levels and the 10% rule
- 4Nutrient cycles: carbon, nitrogen, water
- 5Biomes
- 6Succession
- 7Keystone species
- 8Human impacts
- 9Check your understanding
- 10Vocabulary
1. Biotic and abiotic factors
An ecosystem is a community of living things together with the nonliving environment around them, such as the weather, water and landscape, all interacting in one area. A pond is an ecosystem. So is a rotting log, a coral reef or the Amazon rainforest. Ecosystems have no fixed size; what makes something an ecosystem is that its parts interact.
Those parts come in two kinds:
Biotic = living
Biotic factors
Living things and things that were once alive: plants, animals, fungi, bacteria, and even fallen leaves and dead logs. In the pond in the picture above, the tree, cattails, frog and heron are biotic.
Abiotic = nonliving
Abiotic factors
The nonliving parts: sunlight, temperature, water, air, humidity, rocks and soil minerals. They set the rules for what can live in a place. Change the temperature or the rainfall, and the living community changes with it.
The two kinds constantly shape each other. Abiotic factors decide which organisms can survive, and organisms change their surroundings in return: tree roots break rock into soil, and the shade of a forest cools the ground beneath it.
2. Food chains and food webs
Every organism needs energy, and almost all of that energy starts as sunlight. Producers, also called autotrophs, capture it. Plants, algae and some bacteria use photosynthesis to turn light, carbon dioxide and water into sugar. (A few producers, mostly bacteria living in dark caves or at hydrothermal vents on the ocean floor, use chemical energy instead. They are called chemoautotrophs.) Everything else is a consumer that gets energy by eating.
A food chain is a single path of who eats whom, like grass → grasshopper → mouse → snake → hawk. Real nature is messier: mice eat more than one thing, and hawks hunt more than one animal. Linking all the food chains in an ecosystem gives a food web.
Two groups clean up after everyone else. Detritivores like earthworms and millipedes eat dead material, and decomposers, mainly fungi and bacteria, break it down into simple chemicals. Without them, dead matter would pile up and the nutrients locked inside it would never return to the soil.
Read the arrows the right way
The arrow in "grass → rabbit" does not mean "grass eats rabbit." It means energy moves from the grass into the rabbit. Follow the arrows and you are following the energy.
3. Trophic levels and the 10% rule
Each step in a food chain is a trophic level. Producers are the first level. Primary consumers (herbivores) eat producers. Secondary consumers eat herbivores, and tertiary consumers eat those. An animal at the very top with no natural predators of its own, like an orca or a hawk, is an apex predator. Many animals feed at more than one level; a fox that eats both berries and rabbits is a primary and a secondary consumer.
Here is the catch: energy does not pass up the chain completely. An animal uses most of the energy it eats just to stay alive, to move, grow, breathe and keep warm, and much of it ends up as heat. Some of what it eats is never digested at all. On average, only about 10% of the energy at one level is passed on to the next. This is the 10% rule.
Try it: the energy pyramid calculator
Start with the energy captured by producers and see how much is left at each level.
10% is the average used in the rule. Slide it to see what changes when an ecosystem is more or less efficient.
- Level 5: 1 kcal
- Level 4 (tertiary consumers): 10 kcal
- Level 3 (secondary consumers): 100 kcal
- Level 2 (primary consumers): 1,000 kcal
- Level 1 (producers): 10,000 kcal
Level 5 gets 0.01% of the energy the producers captured.
That steep drop explains a lot. It is why food chains are short: after four to six energy transfers, there is not enough energy left to support another level. It is also why a meadow has far more rabbits than foxes.
How do we know? Measuring energy in a Florida spring
Ecologists tested these ideas at Silver Springs, Florida, by measuring the energy stored at each trophic level. Producers there captured 20,810 kilocalories per square meter per year (the gross primary productivity), but after using energy for their own respiration only 7,633 kcal/m²/yr was left as net primary productivity for the rest of the ecosystem. The transfer efficiency between the first two trophic levels was about 14.48%. That's a bit better than 10%, which is the point: "10%" is an average, not a law of physics. Real values vary from one ecosystem to the next, but they are always far below 100%.
Talk about it
Using the 10% rule, explain why eating plants directly can feed more people from the same farmland than feeding those plants to cattle and eating the beef.
4. Nutrient cycles: carbon, nitrogen and water
Energy makes a one-way trip through an ecosystem: in as sunlight, out as heat. Matter is different. The atoms that make up living things are not used up; they are recycled. The carbon, nitrogen and water in your body have been part of other living things before you, maybe ocean plankton or an ancient forest. These atoms move between living things, air, water and rock in biogeochemical cycles.
The carbon cycle
Carbon is the backbone of every living molecule. In the fast carbon cycle, plants and algae pull carbon dioxide (CO₂) out of the air during photosynthesis and build it into sugars. Animals eat the plants, and both plants and animals release CO₂ back to the air through respiration. When organisms die, decomposers break them down and release more.
The ocean is the giant in the cycle: it holds about 50 times more carbon than the atmosphere. CO₂ dissolves into seawater and comes back out, and some of the dissolved carbon combines with calcium to form calcium carbonate, the main ingredient of many sea shells. In the slow carbon cycle, carbon gets locked away for millions of years in limestone rock and in fossil fuels (coal, oil and natural gas), which formed from ancient buried life.
People have short-circuited the slow cycle. Burning fossil fuels, clearing forests and making cement release carbon that was stored underground for ages. Natural sinks, mainly the ocean and plants, soak up about half of the CO₂ humans emit each year. The rest stays in the air.
How do we know? The Mauna Loa record
Scientists have measured CO₂ in the air at the Mauna Loa Observatory in Hawaii since 1958, when it was about 315 parts per million (ppm). Before the Industrial Revolution it was about 280 ppm or less. In 2024 the global average reached a record 422.8 ppm, about 50% higher than pre-industrial levels, and that year's jump of 3.75 ppm was the largest on record. Because the ocean absorbs some of this CO₂, the average pH of surface ocean water has fallen from about 8.21 to 8.10, a change called ocean acidification.
The nitrogen cycle
Living things need nitrogen to make proteins and DNA. There's no shortage of it: nitrogen gas (N₂) makes up about 78% of the atmosphere. The problem is that plants and animals can't use N₂ directly. Its two atoms are bonded too tightly. Turning it into a usable form takes special help, and most of that help comes from bacteria.
- Nitrogen fixation. Certain bacteria convert N₂ into ammonia (NH₃), which becomes ammonium (NH₄⁺) in soil. Some are free-living, such as cyanobacteria. Others, like Rhizobium, live in bumps called root nodules on legumes such as beans, peas and clover, trading nitrogen for the plant's sugar. Lightning fixes a small amount too.
- Nitrification. Other soil bacteria, such as Nitrosomonas, convert ammonium into nitrite (NO₂⁻), and then other bacteria turn nitrite into nitrate (NO₃⁻).
- Assimilation. Plants absorb ammonium and nitrate through their roots and build them into proteins. Animals get their nitrogen by eating plants or other animals.
- Ammonification. When organisms die or release waste, decomposers turn the nitrogen in it back into ammonium.
- Denitrification. Bacteria such as Pseudomonas and Clostridium, living where oxygen is scarce, convert nitrate back into N₂ gas, which returns to the air.
In 1909 chemists worked out the Haber-Bosch process, a way to fix nitrogen in factories. It made large-scale synthetic fertilizer possible. But fertilizer that washes off fields carries extra nitrogen (and phosphorus) into rivers, lakes and coastal water, which leads to the dead zones described in Human impacts.
The water cycle
The sun's energy evaporates water from oceans, lakes and soil, and plants release water vapor from their leaves through transpiration (together these are called evapotranspiration). The vapor cools and condenses into clouds, then falls as precipitation. Gravity takes over: water runs off the land into streams and rivers (runoff), or soaks into the ground (infiltration) to become groundwater.
About 96.5% of all Earth's water is salty ocean water. Of the small share that is fresh, more than 68% is frozen in ice caps and glaciers and about 30% is underground. People change the cycle too: pumping groundwater, building dams, paving land so rain runs off instead of soaking in, and warming the climate.
5. Biomes
A biome is a large region with a similar climate and similar kinds of plants and animals, wherever on Earth it appears. The two abiotic factors that matter most in defining land biomes are temperature and precipitation. Biologists usually recognize eight major terrestrial biomes. There are aquatic biomes too, divided into ocean (marine) and freshwater.
| Biome | Climate | Typical plants and features |
|---|---|---|
| Tropical wet forest (rainforest) | Warm all year; 125–660 cm (50–200 in) of rain a year | Broad-leaved plants that shed and replace leaves throughout the year; very high productivity and species diversity |
| Savanna | Hot, with a long dry season | Grasslands with scattered trees, in Africa, South America and northern Australia |
| Subtropical desert | Less than 30 cm (12 in) of rain a year, sometimes as little as 2 cm | Very dry; in some years evaporation is greater than precipitation. Daytime soil surface can top 60 °C (140 °F) |
| Chaparral (scrub forest) | 65–75 cm (25.6–29.5 in) of rain a year, mostly in winter | Dominated by shrubs; adapted to frequent fire. Found in California, around the Mediterranean and southern Australia |
| Temperate grassland | Hot summers, cold winters; 25–75 cm (9.8–29.5 in) of precipitation | Grasses with few trees except along streams; called prairies in North America and steppes in Eurasia |
| Temperate forest | Moderate temperatures; 75–150 cm (29.5–59 in) of rain | Deciduous trees that drop their leaves each fall |
| Boreal forest (taiga) | Long, cold winters; 40–100 cm (15.7–39 in) of precipitation, mostly as snow | Cone-bearing evergreens such as pine, spruce and fir |
| Arctic tundra | Very cold; average winter temperature −34 °C (−29.2 °F); very little precipitation | Low plants and lichens; permanently frozen ground called permafrost; a short growing season |
Talk about it
The temperate grassland and the chaparral can get similar amounts of rain. Why might they still support such different plants? (Hint: look at when the rain falls.)
6. Ecological succession
Ecosystems are not frozen in place. After a disturbance, communities rebuild in a fairly predictable series of stages called ecological succession.
Starts with no soil
Primary succession
Happens on brand-new land, like rock left by a retreating glacier or fresh lava in Hawaii. Hardy pioneer species move in first and slowly help build soil, which lets other plants follow.
Soil survives
Secondary succession
Happens after a disturbance that leaves soil behind, such as a wildfire or an abandoned farm field. Ash returns nutrients to the ground, and an oak and hickory forest cleared by fire can regrow far faster than a forest starting from bare rock.
How do we know? Watching life return to Mount St. Helens
On May 18, 1980, Mount St. Helens in Washington erupted and buried the land north of the volcano in hot pumice and ash, creating the Pumice Plain. Scientists have been studying its recovery ever since. Among the first pioneers they found, in 1981 and 1982, was the prairie lupine, a legume. Like other legumes, it hosts nitrogen-fixing bacteria, so it could grow in barren pumice and enrich the ground for the plants that came after. It is a living lab for primary succession.
7. Keystone species
Back to Tatoosh Island. Paine coined the term keystone species for a species that holds its ecosystem together, the way the keystone at the top of a stone arch keeps the whole arch from falling. Remove it, and the ecosystem changes dramatically.
How do we know? An experiment you can picture
The purple sea star Pisaster ochraceus is a major predator of mussels and barnacles on Tatoosh Island. When Paine removed the sea stars from a stretch of shore, mussels took over and crowded out other species, including the algae that fed sea snails, limpets and small clams. Within a year, the area's biodiversity was cut in half. Comparing those patches with untouched ones was the evidence that one predator can control a whole community.
A famous land example is the gray wolf in Yellowstone National Park. According to the National Park Service, at least 136 wolves were killed in the park between 1914 and 1926, and the last wolf pack was killed in 1926. Without wolves, elk populations exploded and overgrazed the plants along streams. From 1995 to 1997, 41 wild wolves from Canada and northwest Montana were released in the park. National Geographic reports that since then, elk populations have shrunk, willows have grown taller, and beaver and songbird populations have recovered. A chain of effects like this, running from a predator down through the food web, is called a trophic cascade.
Keystone species aren't always predators. Kelp is called a keystone host: kelp forests give shelter to sea otters and food to the animals otters eat, such as fish and sea urchins.
Talk about it
The National Park Service notes that wolf effects on elk are tangled up with other factors, such as other predators, how elk are managed outside the park, and weather like drought and harsh winters. What evidence would you want to collect to show that wolves, not something else, caused the willows to grow back?
8. Human impacts
People are part of ecosystems too, and we now shape almost every one on Earth. Each big impact connects to an idea from this lesson:
Carbon cycle
Climate change and ocean acidification
Burning fossil fuels and clearing land have pushed atmospheric CO₂ about 50% above pre-industrial levels, warming the planet and making the surface ocean more acidic.
Nitrogen cycle
Nutrient runoff and dead zones
Fertilizer and sewage feed explosive growth of algae and microbes in lakes and coastal water. As they grow and decompose, they use up the dissolved oxygen, and fish and shellfish die. More than 400 dead zones had been found worldwide as of 2008. One of the worst is in the Gulf of Mexico, fed by fertilizer runoff from the Mississippi River basin.
Food webs
Losing key species
Hunting, overfishing and habitat loss can remove keystone species and set off trophic cascades, as when Yellowstone lost its wolves.
Water cycle
Changing where water goes
Dams, pavement and heavy groundwater pumping change how water moves through the land, affecting streams, wetlands and the species that depend on them.
The same science points toward solutions. Restoring a missing species, as Yellowstone did, can help an ecosystem recover. Farmers can plant legumes to add nitrogen to soil naturally and use fertilizer more carefully so less runs off. And protecting forests and wetlands keeps the carbon and water cycles working in our favor.
Talk about it
Pick an ecosystem near your school, such as a park, a river or even a vacant lot. Name one biotic factor, one abiotic factor, one way people affect it, and one thing your community could do to help.
9. Check your understanding
Choose an answer for each question. With JavaScript on, you'll get feedback right away and your best score is saved on this device only. The full answer key is below the quiz.
Show the answer key
- C. The temperature of the water. Temperature is a nonliving condition. Frogs, algae and bacteria are all living, so they are biotic.
- A. Energy moves from the grass into the rabbit that eats it. Arrows show the direction energy flows: from the food to the eater.
- D. 200 kcal. 20,000 × 0.10 = 2,000 kcal for primary consumers, then 2,000 × 0.10 = 200 kcal for secondary consumers.
- B. So little energy is left after each transfer that it can't support another level. About 90% of the energy is used or lost as heat at each step, so after a few steps there isn't enough left.
- B. Denitrification. Denitrifying bacteria such as Pseudomonas turn nitrate back into N₂ gas. Fixation does the opposite.
- D. Photosynthesis. Plants and algae take in CO₂ during photosynthesis. The other three release CO₂.
- A. Secondary succession. Succession that starts with soil already in place is secondary. Primary succession starts on bare rock or lava with no soil.
- C. Mussels crowded out other species and biodiversity fell by half. Without their main predator, mussels took over and the number of species was cut in half within a year. That's what makes the sea star a keystone species.
- B. Extra nutrients fuel huge growth of algae and microbes, which use up the water's oxygen. Excess nitrogen and phosphorus cause overgrowth of algae and microbes, and their growth and decomposition deplete dissolved oxygen.
- C. Arctic tundra. The Arctic tundra has permafrost, very low precipitation and a growing season of only about 10 to 12 weeks.
10. Vocabulary
- Abiotic factor
- A nonliving part of an ecosystem, such as sunlight, temperature, water or soil minerals.
- Apex predator
- An animal at the top of a food web with no natural predators of its own.
- Assimilation
- The uptake of nitrogen compounds by plants, which build them into proteins and DNA.
- Autotroph (producer)
- An organism that makes its own food, usually by photosynthesis.
- Biogeochemical cycle
- The path an element or compound, such as carbon, nitrogen or water, takes between living things, air, water and rock.
- Biome
- A large region with a similar climate and similar kinds of plants and animals.
- Biotic factor
- A living or once-living part of an ecosystem.
- Consumer (heterotroph)
- An organism that gets energy by eating other organisms.
- Decomposer
- An organism, mainly fungi and bacteria, that breaks dead matter down into simple nutrients.
- Denitrification
- The conversion of nitrate back into nitrogen gas by bacteria.
- Detritivore
- An animal, such as an earthworm, that eats dead plant and animal material.
- Ecosystem
- A community of living things plus their nonliving environment, interacting in one area.
- Eutrophication
- Overgrowth of algae and microbes in water caused by excess nutrients, which can use up dissolved oxygen.
- Food web
- All the connected food chains in an ecosystem.
- Keystone species
- A species that has an outsized effect on its ecosystem, so removing it changes the whole community.
- Nitrogen fixation
- The conversion of nitrogen gas into ammonia or ammonium, mostly by bacteria.
- Ocean acidification
- The drop in ocean pH caused by seawater absorbing extra carbon dioxide.
- Pioneer species
- The first species to move into bare or disturbed land during succession.
- Primary succession
- Succession on new land with no soil, such as fresh lava or bare rock.
- 10% rule
- The average pattern that only about 10% of the energy at one trophic level passes to the next.
- Secondary succession
- Succession after a disturbance that leaves the soil in place, such as a fire.
- Transpiration
- The release of water vapor from plant leaves.
- Trophic cascade
- A chain of effects through a food web caused by adding or removing a top predator.
- Trophic level
- A feeding step in a food chain, such as producer or primary consumer.
Sources
Facts and numbers in this lesson come from these sources. The diagrams are original drawings made for Jugami, based on the processes these sources describe.
- National Geographic Education, “Ecosystem.” education.nationalgeographic.org
- National Geographic Education, “Food Web.” education.nationalgeographic.org
- National Geographic Education, “Energy Flow and the 10% Rule.” education.nationalgeographic.org
- National Geographic Education, “The Role of Keystone Species in an Ecosystem.” education.nationalgeographic.org
- OpenStax, Biology 2e, 46.1 “Ecology of Ecosystems.” openstax.org
- OpenStax, Biology 2e, 46.2 “Energy Flow through Ecosystems” (Silver Springs data, transfer efficiency, chemoautotrophs). openstax.org
- OpenStax, Biology 2e, 46.3 “Biogeochemical Cycles” (nitrogen cycle, eutrophication and dead zones). openstax.org
- OpenStax, Biology 2e, 45.6 “Community Ecology” (primary and secondary succession). openstax.org
- OpenStax, Biology 2e, 44.3 “Terrestrial Biomes.” openstax.org
- NOAA Education, “Carbon cycle.” www.noaa.gov
- NOAA Climate.gov, Rebecca Lindsey, “Climate change: atmospheric carbon dioxide” (2025). www.climate.gov
- NASA Earth Observatory, “The Carbon Cycle.” earthobservatory.nasa.gov
- USGS Water Science School, “The Water Cycle.” www.usgs.gov
- USGS Water Science School, “How Much Water is There on Earth?” www.usgs.gov
- University of Florida IFAS Extension, “The Nitrogen Cycle” (biological and industrial nitrogen fixation, Haber-Bosch). ask.ifas.ufl.edu
- U.S. National Park Service, Yellowstone, “History of Wolf Management.” www.nps.gov
- U.S. National Park Service, Yellowstone, “Wolf Ecology.” www.nps.gov
- USGS, “Ecology of Mount St. Helens National Monument.” www.usgs.gov
- John G. Bishop and others, USDA Forest Service Pacific Northwest Research Station, research on prairie lupine on the Pumice Plain of Mount St. Helens (2005). www.fs.usda.gov