Ecosystem Structure and Function for UPSC: Productivity, Decomposition, Food Chains, Energy Flow and Ecological Pyramids

How UPSC Tests Ecosystem Ecology

🎯 Exam priority: Tier-2. Ecology theory is rarely asked as a definition; it is asked through organisms. In the 2021 paper UPSC asked which of four animals is a filter feeder, which organisms are detritivores and which are the primary producers of ocean food chains; the 2022 paper used a wetland 'kidneys' quotation; and the 2025 paper asked whether rain forests or oceans make more of the world's oxygen. All of these come straight from the ecosystem chapter of NCERT Biology XII.

Read this note as a vocabulary you can apply to any species in the news: producer, consumer, detritivore, decomposer, trophic level, standing crop, productivity. If you can place an organism in this vocabulary in ten seconds, the single-organism questions become the easiest marks in the paper.

What the examiner is really testing

  • Classification by feeding: producer vs consumer vs detritivore vs decomposer (2021: oyster, earthworm, millipede, woodlouse, diatoms, copepods).

  • Direction and loss of energy: energy flows one way and shrinks at each step, so an energy pyramid can never be inverted but numbers and biomass pyramids can.

  • Where the energy and oxygen come from: oceans and microbes matter as much as forests (2025).

  • Ecosystem services: wetlands as 'kidneys', forests as 'lungs' (2022); the same idea returns in the wetlands and forests articles.

Structure: Species Composition, Stratification and the Pond Example

What an ecosystem is and how its structure is described

An ecosystem is a functional unit in which living things interact with each other and with their physical surroundings. Size does not matter: a pond, a forest, a sea and even the whole biosphere are ecosystems. For study it is split into terrestrial (forest, grassland, desert) and aquatic (pond, lake, wetland, river, estuary) systems, and a crop field or an aquarium counts as a man-made ecosystem.

Two features describe its structure. Species composition is the list of plant and animal species found there. Stratification is the vertical layering of those species: in a forest the trees take the top layer, shrubs the second and herbs and grasses the bottom. The layers matter because each one gets a different amount of light and supports different animals.

The four functions that make it a unit

An ecosystem works as a unit because four processes run together: productivity (the input of organic matter), decomposition (its breakdown), energy flow and nutrient cycling. A pond shows all four: the water and bottom soil are the non-living part; phytoplankton, algae and rooted plants are the producers; zooplankton and fish are consumers; and fungi and bacteria on the bottom are the decomposers. Solar input, temperature and day length set the pace of the whole system.

Component

Who or what it is

Pond example

Forest example

Abiotic

Air, water, soil, light, temperature

Water, dissolved minerals, bottom mud

Soil, rainfall, sunlight

Producers (autotrophs)

Fix carbon using light energy

Phytoplankton, algae, rooted plants

Trees, shrubs, grasses

Consumers (heterotrophs)

Eat producers or other animals

Zooplankton, fish

Insects, deer, tiger

Decomposers

Break down dead matter and release nutrients

Bacteria, fungi, flagellates

Fungi, soil bacteria

Productivity: GPP, NPP and Secondary Productivity

Productivity: how much organic matter an ecosystem makes

Primary production is the organic matter that plants make by photosynthesis per unit area over a period; the rate of making it is productivity, expressed as grams per square metre per year (or kcal per square metre per year) so that different ecosystems can be compared.

  • Gross primary productivity (GPP) is the rate at which organic matter is produced in photosynthesis.

  • Plants burn part of that in their own respiration (R). Net primary productivity (NPP) = GPP − R. NPP is what is left for herbivores and decomposers, so it is the figure that feeds the rest of the ecosystem.

  • Secondary productivity is the rate at which consumers form new organic matter.

Primary productivity depends on the plant species present, on nutrients and on the plants' photosynthetic capacity, so it varies from one ecosystem to another. The biosphere's annual net primary productivity is about 170 billion tonnes (dry weight) of organic matter. Although the oceans cover about 70 per cent of the surface, they contribute only about 55 billion tonnes; the rest is on land.

Why the ocean is the 'low-productivity giant'

NCERT leaves this as a question to discuss. The standard answer: sunlight is absorbed within the upper few tens of metres of water, so photosynthesis is confined to a thin surface layer, and in much of the open ocean that layer is short of nutrients. Remember it as big area, thin lit layer, scarce nutrients. (This is the reason behind the apparent paradox that oceans still make about half the world's oxygen: they are huge, even though each square metre is not very productive.)

Decomposition: Detritus, Humus and the Factors that Control It

Decomposition: turning dead matter back into nutrients

Dead leaves, bark, flowers, animal remains and faeces form detritus, the raw material for decomposition. Decomposers convert complex organic matter into carbon dioxide, water and inorganic nutrients. NCERT lists the steps as fragmentation, leaching, catabolism, humification and mineralisation, and stresses that they run at the same time on the same detritus.

Step

What happens

Who or what does it

Fragmentation

Detritus is broken into smaller particles

Detritivores such as earthworms

Leaching

Water-soluble inorganic nutrients move down into the soil and may be locked up as unavailable salts

Water

Catabolism

Enzymes break detritus into simple inorganic substances

Bacteria and fungi

Humification

Dark, amorphous humus forms; it resists microbes, decays very slowly and stores nutrients (it is colloidal)

Microbial action in soil

Mineralisation

Humus is slowly degraded and inorganic nutrients are released

Some microbes

What speeds decomposition up or slows it down

  • Chemistry of the detritus: slower if it is rich in lignin and chitin; quicker if it is rich in nitrogen and water-soluble substances like sugars.

  • Climate: temperature and soil moisture matter most. A warm, moist environment favours decomposition; low temperature and anaerobiosis (no oxygen) inhibit it, so organic matter builds up. Decomposition is largely an oxygen-requiring process.

That last point explains why peat forms in cold, waterlogged soil and why tropical forest soils are poor in humus: decay is so fast that nutrients are held in the living plants rather than in the soil.

Energy Flow: Food Chains, Trophic Levels and the 10 Per Cent Rule

Energy flow, food chains and trophic levels

Except for deep-sea hydrothermal systems, the Sun is the only energy source for ecosystems. Less than 50 per cent of the incoming sunlight is photosynthetically active radiation (PAR), and plants capture only 2 to 10 per cent of that PAR. This small fraction runs the entire living world. Energy flows in one direction, from the Sun to producers and then to consumers, and is lost as heat along the way. Ecosystems obey the laws of thermodynamics: they need a continuous supply of energy to keep making the molecules they need.

Two kinds of food chain

Grazing food chain (GFC)

Detritus food chain (DFC)

Starts with

Green plants (producers)

Dead organic matter (detritus)

Main actors

Herbivores, then carnivores

Decomposers (fungi, bacteria), also called saprotrophs, and detritivores

Where it dominates

Aquatic ecosystems: the GFC is the major conduit for energy flow

Terrestrial ecosystems: a much larger share of energy flows through the DFC

Link between them

Some DFC organisms are prey for GFC animals, and omnivores such as crows and cockroaches feed on both, so chains join into a food web

Trophic levels and the 10 per cent rule

A trophic level is a feeding position: producers are the first, herbivores (primary consumers) the second, primary carnivores (secondary consumers) the third. A trophic level is a functional position, not a species: a sparrow is a primary consumer when it eats seeds and a secondary consumer when it eats insects. Each level holds a certain mass of living material at a moment in time, called its standing crop, measured as biomass (dry weight is more accurate) or as numbers per unit area.

Energy falls at each step. The textbook shortcut is the 10 per cent law: only about a tenth of the energy passes to the next trophic level. That is why a grazing chain rarely has more than four or five levels. The detritus chain is less limited, because dead matter keeps arriving at every level.

Telling the feeders apart

  • Detritivores eat dead matter and digest it inside the body (earthworms, millipedes, woodlice).

  • Decomposers (fungi and bacteria) release enzymes outside the body and absorb the products.

  • Filter feeders strain small particles from water (oysters, clams, baleen whales).

  • Primary producers of the sea are the photosynthesisers: diatoms, other algae and cyanobacteria. Copepods eat them and so are consumers.

Ecological Pyramids, Ecosystem Services and Nutrient Cycling

Ecological pyramids: numbers, biomass and energy

If you stack the trophic levels with producers at the base, you get a pyramid. It can be drawn in terms of numbers, biomass or energy. In most ecosystems all three are upright: more producers than herbivores, more herbivores than carnivores, and more energy at each lower level. Only the shape of the exceptions is examined.

Pyramid

Usual shape

Exception and why

Numbers

Upright (grassland: a few top carnivores rest on millions of plants)

Inverted for a single big tree: a few producers carry many insects, and the numbers rise through small birds

Biomass

Upright, with a sharp fall at each higher level

Inverted in the sea, where the small standing crop of phytoplankton supports a larger standing crop of zooplankton and fish (it works because the phytoplankton multiply very fast)

Energy

Always upright

Never inverted, because some energy is always lost as heat at every transfer; producers convert only about 1 per cent of the sunlight reaching them into NPP

Limits of pyramids. They assume a simple chain, so they cannot show a food web; they ignore species that sit at two levels at once; and they give no place to saprophytes, although these are vital to the ecosystem.

Ecosystem services and nutrient cycling

The products of ecosystem processes are ecosystem services, such as the purification of air and water by forests. Nutrient cycling is of two types: gaseous cycles such as carbon, whose reservoir is the atmosphere or hydrosphere, and sedimentary cycles such as phosphorus, whose reservoir is the Earth's crust. The next article takes these cycles one by one.

How UPSC Could Ask This Next

How UPSC Could Ask This Next

  • Organism placement: 'Which of the following are detritivores / decomposers / filter feeders?' with a mix of animals (seen in 2021). Practise classifying every animal you meet in the species articles.

  • Pyramid shapes: 'In which ecosystem is the pyramid of biomass inverted?' or a statement-type question on why an energy pyramid cannot be inverted.

  • Productivity: the difference between GPP, NPP and secondary productivity, or why the oceans produce little per unit area yet matter globally.

  • Decomposition: which conditions slow it (cold, waterlogging, lignin-rich litter), a hook for peat, tundra and wetland questions.

  • Ecosystem services: linking this chapter to the wetland, forest and coastal articles.

Further Reading

  • NCERT Biology (Class 12) and Geography textbooks, the India State of Forest Report, the MoEFCC Annual Report, the Economic Survey and the official lists cited in this note — the primary sources behind every figure above.

Test Yourself: Practice Questions and PYQs

Twelve practice questions on ecosystem structure, productivity, decomposition, energy flow and pyramids, followed by the real UPSC Prelims questions asked on this chapter.

Practice Questions

Q1. Consider the following statements about primary productivity:
1. Net primary productivity is gross primary productivity minus the energy plants use in respiration.
2. Secondary productivity is the rate at which producers form new organic matter.
3. Net primary productivity is the biomass available to herbivores and decomposers.
Which of the statements given above are correct?

  • (a) 2 and 3 only

  • (b) 1, 2 and 3

  • (c) 1 and 2 only

  • (d) 1 and 3 only

Show answer

Answer: (d) — NPP = GPP minus respiration, and NPP is what is left for heterotrophs, so 1 and 3 are right. Secondary productivity is the rate of new organic matter formed by consumers, not producers, so 2 is wrong.


Q2. The biosphere's annual net primary productivity is about 170 billion tonnes (dry weight). Which of the following statements about the oceans is correct?

  • (a) The oceans cover about 70 per cent of the Earth's surface but contribute only about 55 billion tonnes of it

  • (b) Ocean productivity is higher than land productivity per unit area

  • (c) The oceans contribute about 170 billion tonnes and the land contributes none

  • (d) The oceans contribute more than half of it because they cover most of the Earth

Show answer

Answer: (a) — About 55 of the 170 billion tonnes are produced in the oceans and the rest on land, so each square metre of ocean is far less productive than land.


Q3. Which one of the following sequences lists the steps of decomposition as given in NCERT?

  • (a) Catabolism, fragmentation, mineralisation, leaching, humification

  • (b) Leaching, humification, fragmentation, mineralisation, catabolism

  • (c) Fragmentation, leaching, catabolism, humification, mineralisation

  • (d) Humification, catabolism, leaching, fragmentation, mineralisation

Show answer

Answer: (c) — The textbook order is fragmentation, leaching, catabolism, humification and mineralisation, though the steps operate at the same time on the detritus.


Q4. In which of the following conditions is decomposition of litter likely to be the slowest?

  • (a) Warm, moist soil with litter rich in sugars

  • (b) Warm, moist soil with litter rich in nitrogen

  • (c) Well-aerated soil in a tropical forest

  • (d) Cold, waterlogged soil with litter rich in lignin

Show answer

Answer: (d) — Low temperature and lack of oxygen inhibit decomposers, and lignin-rich litter decays slowly. Warmth, moisture, nitrogen and sugars all speed decomposition up.


Q5. Consider the following statements about energy flow in an ecosystem:
1. Plants capture only 2 to 10 per cent of the photosynthetically active radiation.
2. Energy flow is unidirectional.
3. In terrestrial ecosystems, a larger fraction of energy flows through the detritus food chain than through the grazing food chain.
How many of the above statements are correct?

  • (a) None

  • (b) All three

  • (c) Only one

  • (d) Only two

Show answer

Answer: (b) — All three match the chapter. In aquatic ecosystems, by contrast, the grazing food chain is the major conduit.


Q6. Statement-I: A pyramid of energy can never be inverted.
Statement-II: At every transfer from one trophic level to the next, some energy is lost as heat.
Which one of the following is correct in respect of the above statements?

  • (a) Both statements are correct and Statement-II is the correct explanation of Statement-I

  • (b) Both statements are correct but Statement-II is not the correct explanation of Statement-I

  • (c) Statement-I is correct but Statement-II is incorrect

  • (d) Statement-I is incorrect but Statement-II is correct

Show answer

Answer: (a) — Because energy is always lost as heat at each step, the energy available at a higher level is always smaller, so the pyramid is always upright.


Q7. The pyramid of biomass in the sea is generally inverted because

  • (a) the oceans receive no sunlight

  • (b) energy is not lost between trophic levels in water

  • (c) the standing crop of small, fast-multiplying phytoplankton supports a larger standing crop of zooplankton and fish

  • (d) carnivores are always more numerous than herbivores

Show answer

Answer: (c) — Phytoplankton have a very short life and reproduce quickly, so a small standing crop sustains a bigger biomass of consumers. Energy is still lost at each step, so the energy pyramid stays upright.


Q8. Consider the following organisms:
1. Earthworm
2. Oyster
3. Bacteria in soil
4. Millipede
How many of the above are detritivores?

  • (a) All four

  • (b) Only two

  • (c) Only one

  • (d) Only three

Show answer

Answer: (b) — Earthworms and millipedes are detritivores. An oyster is a filter feeder, and soil bacteria are decomposers that digest dead matter outside the body.


Q9. A sparrow feeds on seeds and also on insects. In terms of trophic levels it is

  • (a) a decomposer

  • (b) only a secondary consumer

  • (c) only a primary consumer

  • (d) a primary consumer when it eats seeds and a secondary consumer when it eats insects

Show answer

Answer: (d) — A trophic level is a function, not a species, so one species can occupy more than one level at the same time.


Q10. Which one of the following is NOT a limitation of ecological pyramids?

  • (a) They always show energy increasing at higher trophic levels

  • (b) They assume a simple food chain and cannot show a food web

  • (c) They give no place to saprophytes

  • (d) They do not handle a species that belongs to two trophic levels

Show answer

Answer: (a) — In an ordinary pyramid energy decreases at higher levels; the limitations are the simple-chain assumption, the neglect of saprophytes and the problem of species at two levels.


Q11. Match the following:
Feeder — Example
1. Detritivore — Earthworm
2. Filter feeder — Oyster
3. Primary producer of the ocean — Diatom
4. Secondary consumer in the sea — Phytoplankton
How many of the pairs are correctly matched?

  • (a) All four

  • (b) Only three

  • (c) Only one

  • (d) Only two

Show answer

Answer: (b) — Pairs 1, 2 and 3 are correct. Phytoplankton are producers, not secondary consumers.


Q12. Which one of the following is an example of a gaseous nutrient cycle with the atmosphere or hydrosphere as its reservoir, as against a sedimentary cycle with the Earth's crust as its reservoir?

  • (a) Carbon, as against nitrogen

  • (b) Phosphorus, as against sulphur

  • (c) Carbon, as against phosphorus

  • (d) Phosphorus, as against carbon

Show answer

Answer: (c) — NCERT's own examples: carbon is gaseous (atmosphere or hydrosphere is the reservoir) and phosphorus is sedimentary (rocks are the reservoir).

UPSC Previous Year Questions (PYQs)

Real UPSC Prelims questions, checked against the official paper and answer key.

Q1. (2021) Which one of the following is a filter feeder?

  • (a) Octopus

  • (b) Pelican

  • (c) Oyster

  • (d) Catfish

Show answer

Answer: (c) — An oyster pumps water over its gills and strains out plankton and fine detritus, which makes it the standard filter feeder. A catfish, an octopus and a pelican all pursue and catch prey.


Q2. (2021) Which of the following are detritivores?
1. Earthworms
2. Jellyfish
3. Millipedes
4. Seahorses
5. Woodlice
Select the correct answer using the code given below.

  • (a) 1, 2 and 4 only

  • (b) 1, 2, 3, 4 and 5

  • (c) 1, 3 and 5 only

  • (d) 2, 3, 4 and 5 only

Show answer

Answer: (c) — Detritivores eat dead organic matter and digest it inside the body: earthworms, millipedes and woodlice. Jellyfish and seahorses are carnivores that catch live prey, so only 1, 3 and 5 qualify.


Q3. (2021) Consider the following kinds of organisms:
1. Copepods
2. Cyanobacteria
3. Diatoms
4. Foraminifera
Which of the above are primary producers in the food chains of oceans?

  • (a) 2 and 3

  • (b) 1 and 2

  • (c) 3 and 4

  • (d) 1 and 4

Show answer

Answer: (a) — Primary producers photosynthesise. Cyanobacteria and diatoms do, and they anchor ocean food chains. Copepods are zooplankton that graze on them (primary consumers) and foraminifera are heterotrophic protists, so only 2 and 3.

Mains Practice Questions

Use these to frame full-length answers. You don't have to answer one exactly — they show the angles UPSC tests, so let them guide which points you cover.

  • Distinguish between gross and net primary productivity. Why is the net figure the one that matters for the rest of the ecosystem?

  • Explain why the pyramid of energy is always upright while the pyramids of numbers and biomass can be inverted. Give one example of each exception.

  • Why does a larger share of energy flow through the detritus food chain in forests than through the grazing chain, whereas the reverse holds in the sea?

  • Describe the processes of decomposition and the climatic and chemical factors that control its rate. How does this explain the build-up of peat in cold, waterlogged soils?

  • The oceans cover about 70 per cent of the Earth but produce a third of its net primary production. Discuss the reasons and why the oceans still matter for the global oxygen budget.

UPSC Mains — Previous Years’ Questions on this topic (last 10 years)

No direct GS Mains question has been asked specifically on this topic in the last decade — it is primarily a Prelims area. Use the practice prompts above to stay exam-ready.