Skip to content
Tutorials Center
My learning

Topics

Lesson 7 of 37 · Ecosystems and Resources

Matter Cycles: Carbon, Nitrogen and Phosphorus

Learn how carbon, nitrogen, phosphorus and water cycle through Earth's reservoirs, how humans disturb them, and model the carbon cycle with a simple box model.

Energy flows through an ecosystem in one direction, but matter is recycled. The atoms in your body were once part of rocks, air, water and other organisms. The paths that chemical elements follow between living things (bio), the air, water and rocks (geo) are called biogeochemical cycles. Understanding them explains problems such as climate change (carbon), algae blooms (nitrogen and phosphorus) and water shortages (water).

Reservoirs, fluxes and residence time

Each cycle has reservoirs (also called pools or sinks): places where an element is stored, such as the atmosphere, the oceans, rocks, soil and living things. Elements move between reservoirs in fluxes, measured as an amount per year.

The average time an atom stays in a reservoir is its residence time: residence time = amount in reservoir ÷ flux out. A reservoir that is large and has slow fluxes, such as deep ocean water or rock, holds material for a very long time. Fast cycles involve small, quickly exchanged reservoirs, such as the carbon in leaves.

The carbon cycle

Carbon is the backbone of all organic molecules. Its main reservoirs are the atmosphere (as carbon dioxide and methane), the oceans (dissolved CO₂, bicarbonate and carbonate), living biomass, soils, fossil fuels and sedimentary rocks such as limestone. Most of Earth's carbon is in rocks.

Fast exchanges:

  • Photosynthesis removes CO₂ from the air or water and builds organic carbon.
  • Respiration (by plants, animals and decomposers) returns CO₂.
  • Ocean–atmosphere exchange: CO₂ dissolves in the surface ocean and is released back.

Slow processes include the burial of dead organisms (eventually forming fossil fuels) and rock weathering and volcanic activity, which operate over thousands to millions of years.

Burning fossil fuels and clearing forests moves carbon from long-term storage into the atmosphere much faster than natural processes remove it. Scientists commonly report this carbon in gigatonnes of carbon (GtC). A handy conversion: about 2.1 GtC added to the atmosphere raises the CO₂ concentration by roughly 1 ppm (more exactly about 2.12 GtC per ppm).

flowchart LR
    A["Atmosphere<br/>(CO2)"] -->|"photosynthesis"| L["Living things"]
    L -->|"respiration, decay"| A
    A <-->|"dissolving and release"| O["Oceans"]
    L -->|"burial over millions of years"| F["Fossil fuels and rocks"]
    F -->|"burning (human)"| A

A simplified carbon cycle. Burning fossil fuels is a fast human-caused flux from rocks to atmosphere.

A box model

A box model treats each reservoir as one box and tracks the flow between them. The program below is a very simple model: it applies a fixed fraction of yearly emissions that stay in the air. The numbers are rounded illustrations, not a forecast.

Python Toy model: CO2 added to the atmosphere

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

The real airborne fraction is estimated at roughly 40–50 % in recent decades, and real emissions change from year to year, so this model shows the idea of the calculation rather than a prediction.

The nitrogen cycle

Nitrogen gas (N₂) makes up about 78 % of air, but plants and animals cannot use it directly, because its atoms are held together by a very strong triple bond. Nitrogen must be converted to usable forms.

  1. Nitrogen fixation turns N₂ into ammonia (NH₃/NH₄⁺). It is done by certain bacteria (some live in root nodules of legumes such as beans and clover), by lightning, and industrially by the Haber–Bosch process, which makes fertilizer.
  2. Nitrification converts ammonium to nitrite (NO₂⁻) and then nitrate (NO₃⁻), carried out by soil bacteria. Plants take up nitrate and ammonium.
  3. Assimilation: plants build amino acids and proteins; animals get nitrogen by eating.
  4. Ammonification: decomposers convert organic nitrogen in waste and dead matter back to ammonium.
  5. Denitrification: other bacteria convert nitrate back to N₂ (and some nitrous oxide, a greenhouse gas) in low-oxygen soils and sediments.

Humans now fix about as much nitrogen through fertilizer production, legume crops and combustion as natural processes do on land, so the cycle is heavily altered. Excess nitrate in water causes eutrophication, which you will study in the chapter on pollution and water.

The phosphorus cycle

Phosphorus is needed for DNA, ATP (the cell's energy carrier) and bones. Unlike carbon and nitrogen, it has no significant gas phase. It moves slowly: rocks weather and release phosphate to soil and water, plants absorb it, animals eat the plants, and decomposers return it. Phosphate that reaches the ocean can be buried in sediment for millions of years. Because it cycles slowly and phosphate rock is mined for fertilizer, phosphorus is often a limiting nutrient in fresh water, and runoff from farmland can trigger algae blooms.

The water cycle

Water cycles through evaporation (and transpiration from plants, together called evapotranspiration), condensation into clouds, precipitation, runoff and infiltration into groundwater. The Sun powers it. The oceans hold about 97 % of Earth's water; the cycle also moves heat and shapes climate.

Comparing the cycles

Python Cycle comparison table

Press Run (or Ctrl + Enter) to see the result here.

Program input · what you'd type while the program runs

Type the answers before you press Run, one per line. Each time the program reads a line (with input()), it gets the next line from this box.

Check your understanding

Quick check · 4 questions

of 4 answered You scored / 4 · perfect!

  1. 1. Which cycle has no important gas phase?

    Phosphorus moves mainly through rocks, soil, water and organisms; it has no significant atmospheric reservoir.
  2. 2. What does nitrogen fixation do?

    Fixation turns the inert N2 in air into ammonia or ammonium, done by bacteria, lightning and industry.
  3. 3. What is residence time?

    Residence time = reservoir size ÷ flux out. Large reservoirs with slow fluxes hold material a long time.
  4. 4. Burning fossil fuels is a problem for the carbon cycle mainly because

    Carbon is not created. The issue is the speed at which stored carbon is released into the air.

Summary

  • Matter cycles between reservoirs (air, water, rock, life) through fluxes; residence time is amount ÷ outflow.
  • Carbon: photosynthesis and respiration are fast; burning fossil fuels adds long-stored carbon quickly. About 2.1 GtC is roughly 1 ppm of CO₂.
  • Nitrogen: fixation, nitrification, assimilation, ammonification, denitrification; humans have greatly increased fixation.
  • Phosphorus has no gas phase and cycles slowly; excess causes algae blooms.
  • Water cycles by evapotranspiration, condensation, precipitation, runoff and infiltration, powered by the Sun.

Next: Biomes and Climate