Biology Beginner

Ecology: Ecosystems, Energy Flow and Biodiversity

Ecology studies how living organisms interact with one another and with their physical environment. From energy flow through food webs to the global carbon cycle, it explains why ecosystems work — and what happens when they break down.

Last checked: 2026-10-19 · Field: Biology

01 · What is ecology?

Ecology (Greek: oikos — house) is the study of the relationships between organisms and their environment. It spans from the individual (physiological ecology) through populations, communities and ecosystems up to the entire biosphere.

LEVELS OF ECOLOGICAL ORGANISATION

Level Definition Example
IndividualA single organismOne oak tree
PopulationAll individuals of one species in an areaOakwood bluebells
CommunityAll species in an area interactingAll plants, animals and fungi in Kielder Forest
EcosystemCommunity + abiotic factors + interactionsThe North Sea
BiomeEcosystems sharing climate and vegetation typeTemperate deciduous forest
BiosphereAll life on Earth and its global interactionsEarth

Abiotic factors — non-living influences on organisms — include light intensity, temperature, water availability, soil pH, salinity and atmospheric gas composition. Biotic factors include predation, competition, mutualism, parasitism and the availability of food.

02 · Energy flow and trophic levels

All energy in almost every ecosystem originates from the Sun. Photosynthetic organisms (producers) capture this energy and fix it into organic molecules via photosynthesis. That chemical energy passes up the food web through successive trophic levels.

TROPHIC LEVELS

LevelNameEnergy sourceExamples
1ProducersSunlight (photosynthesis)Plants, algae, phytoplankton
2Primary consumersProducersCaterpillars, rabbits, krill
3Secondary consumersPrimary consumersFrogs, small fish, foxes
4Tertiary consumersSecondary consumersEagles, sharks, killer whales
—DecomposersDead organic matterBacteria, fungi, earthworms

The 10% rule

On average only ~10% of the energy at one trophic level passes to the next. The rest is lost as heat during cellular respiration, or is excreted and enters the decomposer pathway. This is why food chains rarely exceed four or five links — not enough energy survives to support another level.

ECOLOGICAL EFFICIENCY

Efficiency (%) = (Productivity of trophic level n+1 / Productivity of trophic level n) × 100

Typical range: 5–20 %, commonly approximated as 10 %.

Net primary productivity (NPP)

Gross primary productivity (GPP) is the total rate of photosynthetic carbon fixation. Net primary productivity (NPP) is what remains after the plant's own respiration: NPP = GPP − Rplant. NPP is measured in g C m⁻² yr⁻¹ and sets the upper limit on how much energy is available to all consumers in an ecosystem.

03 · Nutrient cycles

Unlike energy (which flows through an ecosystem and is lost as heat), matter is recycled. Key elements cycle between living organisms and the abiotic environment.

The carbon cycle

Carbon enters the biosphere as CO₂ fixed by photosynthesis. It returns to the atmosphere via respiration, combustion and decomposition. The oceans absorb ~25–30% of annual anthropogenic CO₂ emissions, but this drives ocean acidification.

Key reactions (balanced — see balancing equations):

Photosynthesis: 6CO₂ + 6H₂O → C₆H₁₂O₆ + 6O₂

Respiration: C₆H₁₂O₆ + 6O₂ → 6CO₂ + 6H₂O

Combustion: CH₄ + 2O₂ → CO₂ + 2H₂O

The nitrogen cycle

Nitrogen (N₂, 78% of atmosphere) is unreactive and must be "fixed" into usable forms. Steps in the nitrogen cycle:

  1. Nitrogen fixation — Rhizobium bacteria in root nodules convert N₂ → NH₄⁺ using nitrogenase; also lightning and the Haber process.
  2. Nitrification — Nitrosomonas converts NH₄⁺ → NO₂⁻; Nitrobacter converts NO₂⁻ → NO₃⁻. Nitrate is the main form absorbed by plant roots.
  3. Assimilation — Plants build amino acids and nucleotides from NO₃⁻; these pass up the food web.
  4. Ammonification — Decomposers break organic N back to NH₄⁺.
  5. Denitrification — Pseudomonas reduces NO₃⁻ → N₂ under anaerobic conditions, returning N to the atmosphere.

04 · Ecological interactions

Species in a community affect one another in ways classified by whether each species benefits (+), is harmed (−) or unaffected (0):

InteractionSpecies ASpecies BExample
Mutualism++Clownfish and sea anemone; mycorrhizae and plant roots
Commensalism+0Epiphytes growing on a tree
Parasitism+−Tapeworm in a host gut
Predation+−Lynx eating snowshoe hare
Competition−−Barnacle species on the same rock
Amensalism0−Penicillium mould inhibiting bacteria

Population dynamics

Populations grow exponentially (Nt = N₀ ert) when resources are unlimited — the intrinsic rate of natural increase r equals birth rate minus death rate. In reality, carrying capacity (K) limits growth: logistic growth S = K / (1 + ((K − N₀)/N₀) e−rt). Classic predator–prey cycles (Lotka–Volterra equations) show how populations of foxes and rabbits oscillate out of phase.

05 · Measuring biodiversity

Biodiversity is assessed at three levels — genetic, species and ecosystem. The most commonly used species-diversity metrics are:

SIMPSON'S DIVERSITY INDEX

D = 1 − Σ(nᵢ/N)²

nᵢ = number of individuals of species i; N = total individuals. D ranges from 0 (lowest) to 1 (highest diversity). Developed by E.H. Simpson, 1949.

SHANNON ENTROPY

H = −Σ pᵢ ln pᵢ

pᵢ = proportion of individuals belonging to species i. Higher H means greater diversity. Used by information theory — connects to the genetics guide for allelic diversity within populations.

Threats to biodiversity are summarised by the HIPPO framework: Habitat destruction, Invasive species, Pollution, Population (human), and Over-exploitation. Each can push species toward the extinction vortex — a self-reinforcing spiral of small population → inbreeding depression → genetic drift → lower fitness → smaller population.

Conservation tools now include eDNA metabarcoding (detecting species from traces of DNA in water), captive breeding, habitat corridors and — most controversially — CRISPR-based genetic rescue. For the natural-selection angle see evolution and for news on CRISPR applications see CRISPR gene editing.

06 · Human impact on ecosystems

The major human-driven changes to global ecosystems are:

  • Deforestation — reduces carbon sinks and habitat, fragmenting populations. About 10 million hectares of forest lost per year (FAO 2020).
  • Eutrophication — excess nitrogen and phosphorus (from fertiliser run-off) cause algal blooms, oxygen depletion and dead zones.
  • Climate change — shifts species' ranges poleward and to higher altitudes; alters timing of life-history events (phenology mismatch).
  • Ocean acidification — CO₂ dissolves to form carbonic acid, threatening calcifying organisms. See the full chemistry in our ocean acidification article.
  • Plastic pollution — microplastics accumulate up food webs via bioaccumulation. See microplastics in the ocean.

07 · Ecosystem dynamics, nutrient cycling and biodiversity in depth

An ecosystem encompasses all living (biotic) and non-living (abiotic) components of an environment and their interactions. Understanding the difference between biotic vs abiotic factors is fundamental: biotic factors include predation, competition, disease and symbiosis, while abiotic factors include temperature, light, water availability, soil pH and mineral content. Changes to either category can cascade through the entire ecosystem — for example, rising ocean temperatures (abiotic) cause coral bleaching, which reduces habitat for thousands of species (biotic consequence).

The distinction between a food chain vs food web matters for ecological modelling. A food chain is a simplified linear pathway showing energy transfer through trophic levels — from producers to primary, secondary and tertiary consumers. A food web is the interconnected network of all feeding relationships in an ecosystem, providing a more realistic picture of energy flow. Removing a single species from a food web can have unexpected ripple effects — a concept known as a trophic cascade. The Nature ecology collection publishes research on food web stability and resilience.

The carbon cycle, nitrogen cycle and water cycle are the three most important biogeochemical cycles. Carbon moves between the atmosphere, biosphere, oceans and lithosphere through photosynthesis, respiration, combustion and geological processes. Nitrogen must be fixed from atmospheric N₂ into ammonia or nitrate before organisms can use it. The water cycle drives weather patterns and determines habitat availability across biomes. Biodiversity — measured at genetic, species and ecosystem levels — is both a product of these cycles and essential for their continued functioning. Ecological succession describes how communities change over time: primary succession begins on bare rock or new land, while secondary succession occurs after a disturbance (e.g. fire, farming) where soil remains. The Khan Academy ecology module covers succession, nutrient cycling and biodiversity measurement with interactive exercises.

08 · Ecology FAQ: ecosystems and biodiversity

What is the difference between primary and secondary ecological succession?

Primary succession starts from a lifeless substrate — bare rock, cooled lava, or newly formed sand dunes — where there is no existing soil. Pioneer species such as lichens and mosses colonise first, gradually building soil. Secondary succession begins after a disturbance (fire, flood, deforestation) in an area where soil and seed banks already exist, so recovery is faster. Both types progress toward a climax community — a relatively stable endpoint determined by the regional climate. The NCBI ecology chapter details succession stages and climax community theory.

Why is biodiversity important for ecosystem stability?

Greater biodiversity generally increases ecosystem resilience — the ability to withstand and recover from disturbances. Diverse ecosystems have more functional redundancy: if one species is lost, others can fill its ecological role. Research consistently shows that species-rich ecosystems are more productive, better at nutrient cycling and more resistant to invasive species. Loss of biodiversity weakens these ecosystem services, threatening food security, water quality and climate regulation.

Frequently asked questions

Frequently asked questions

An ecosystem is all the living organisms in an area (the biotic community) together with the non-living physical and chemical environment (the abiotic factors) — and all the interactions between them. Ecosystems range from a single rockpool to the entire Amazon basin. Connects to cellular respiration (energy release) and photosynthesis (primary production).