Master IB Biology B4.2: Ecological niches with notes created by examiners and strictly aligned with the syllabus.
B4.2.1 Ecological niche as the role of a species in an ecosystem
B4.2.2 Differences between organisms that are obligate anaerobes, facultative anaerobes and obligate aerobes
B4.2.3 Photosynthesis as the mode of nutrition in plants, algae and several groups of photosynthetic prokaryotes
B4.2.4 Holozoic nutrition in animals
An ecological niche is the role a species has in an ecosystem: the conditions it tolerates, the resources it uses, and the interactions that affect its growth, survival and reproduction. Don’t shrink a niche down to “where it lives”. Habitat is only one part of it; the niche is the species’ whole job description.
A biotic factor is a living part of the environment that affects an organism, such as predators, prey, competitors, pollinators, decomposers or host plants. An abiotic factor is a non-living physical or chemical part of the environment that affects an organism, such as light intensity, oxygen availability, temperature, pH, water depth or salinity.
A species’ niche includes how it gets food. A mode of nutrition is the way an organism obtains energy and carbon compounds for metabolism and growth. Some species make organic compounds using light; others get organic compounds from living, dead or partly digested material. Feeding role connects form and function very directly: mouthparts, teeth, roots, pigments, digestive enzymes and behaviour all help define the niche.
Niches have many dimensions. For example, a bird species might be described by prey size, foraging height, nesting site, temperature range, predators, competitors and seasonal food availability. A graph with two axes shows only one slice through the real niche.

Specialization often improves efficiency. A species with structures and behaviours tuned to a narrow resource can exploit that resource very well and may face less direct competition. Versatility brings a different advantage: a generalist can switch resources when conditions change. That is the trade-off behind the linking question on specificity and versatility: specificity gives precision and efficiency; versatility gives resilience.
Oxygen gas is an abiotic factor, but organisms vary in how much they can tolerate it. For this part of the syllabus, focus on tolerance of oxygen gas being present or absent in the environment, rather than the details of respiratory biochemistry.
An obligate aerobe requires oxygen gas in its environment for survival and growth. These organisms are restricted to oxic environments, which are habitats or microhabitats where oxygen gas is present.
An obligate anaerobe is inhibited or killed by oxygen gas. These organisms are restricted to anoxic environments, which are habitats or microhabitats where oxygen gas is absent. Anoxic conditions can occur in waterlogged mud, deep sediments and some animal guts.
A facultative anaerobe can survive when oxygen gas is available, but it can also survive without it. That gives it a more versatile niche strategy, since the organism is not confined to one oxygen condition.
| Group | Oxygen tolerance | Ecological consequence |
|---|---|---|
| Obligate aerobe | Oxygen gas required | Found only where oxygen is available |
| Facultative anaerobe | Oxygen tolerated but not essential | Can occupy oxic and anoxic microhabitats |
| Obligate anaerobe | Oxygen gas harmful | Found only where oxygen is absent |
Comparison of organism groups by oxygen tolerance and occupied microhabitats.
| Group | Oxygen gas present | Oxygen gas absent | Microhabitats occupied |
|---|---|---|---|
| Obligate aerobe | Required for survival and growth | Cannot survive | Oxic only |
| Facultative anaerobe | Tolerated; can survive and grow | Can survive without oxygen | Oxic and anoxic |
| Obligate anaerobe | Harmful; inhibits or kills | Required condition for survival | Anoxic only |
A sealed column of pond mud and water exposed to light makes a useful practical model. Gradients develop: oxygen tends to be higher near the top and lower deeper down, while other chemical conditions also vary. Different microbial groups grow in different bands because each band matches a different niche.
Photosynthesis is a mode of nutrition where light energy is used to synthesize organic carbon compounds from carbon dioxide. It counts as autotrophic nutrition because the organism makes its own organic molecules from simple inorganic materials.
An autotroph is an organism that synthesizes its own organic carbon compounds from inorganic carbon sources such as carbon dioxide. Learn the input-process-output pattern clearly: inputs include light energy, carbon dioxide and a source of hydrogen and electrons; the process is carbon fixation and synthesis of organic compounds; outputs include sugars and other organic compounds used to build biomass. In many familiar photosynthesizers, oxygen is also released, but the syllabus does not require details of different prokaryotic forms of photosynthesis.
Photosynthesis occurs in:
The key domain point is straightforward: photosynthesis occurs in bacteria and eukaryotes, but not in archaea. If someone asks “Is light essential for life?”, the best biological answer is “light is essential for many producers and for ecosystems that depend on them, but not for every organism or every mode of nutrition.”
A heterotroph is an organism that obtains organic carbon compounds from other organisms. All animals are heterotrophic. They don’t fix carbon dioxide to make food; they take in organic matter made by, or contained in, other living things.
Holozoic nutrition is a heterotrophic mode of nutrition in which food is ingested, digested internally, absorbed and assimilated. Think of the animal gut pattern: food enters the body, gets processed inside a digestive space, and useful molecules pass into tissues.
The sequence matters:

For the linking question on inputs, processes and outputs: in holozoic nutrition, the input is particulate food from other organisms; the processes are ingestion, internal digestion, absorption and assimilation; the outputs are new animal biomass, energy made available through respiration, and egested undigested material. Compare this carefully with saprotrophs later: both digest, but only holozoic animals ingest food before internal digestion.
A protist is a eukaryotic organism that is not classified as an animal, plant or fungus, and it is often unicellular. Some protists don’t fit neatly into the “producer” or “consumer” boxes because they can use more than one nutritional route.
A mixotroph is an organism that uses both autotrophic and heterotrophic nutrition. Put simply, it can make some organic compounds using light, while also obtaining organic compounds by feeding or by uptake from other organisms or organic matter.
Euglena is the standard freshwater example. When light is available, it can photosynthesize, but it can also obtain organic material heterotrophically. Many mixotrophs are not freshwater organisms; oceanic plankton include many species that combine photosynthesis with uptake or ingestion of organic material.
A facultative mixotroph is a mixotroph that can grow using either autotrophic nutrition, heterotrophic nutrition or both, depending on conditions. An obligate mixotroph is a mixotroph that requires both autotrophic and heterotrophic nutrition for growth. Facultative mixotrophy gives the organism flexibility, since it can switch when light or food supply changes. Obligate mixotrophy is more specialized, because both routes are needed.

For inputs, processes and outputs: mixotrophs may take in light, carbon dioxide and inorganic nutrients for photosynthesis, plus organic particles or dissolved organic compounds for heterotrophy. Their processes combine carbon fixation with feeding, uptake or digestion. The outputs are growth, biomass and metabolic energy from both routes.
A saprotroph is a heterotrophic organism that secretes digestive enzymes onto dead organic matter, then absorbs the soluble products of external digestion. Many fungi and bacteria feed in this way.
A decomposer breaks down dead organic matter and returns chemical elements to the ecosystem in forms that can be reused. Saprotrophic fungi and bacteria count as decomposers because they digest dead material and recycle elements such as carbon and nitrogen through ecosystems.
The main difference is the site of digestion. Holozoic animals ingest food and digest it internally. Saprotrophs don't take chunks of food into a gut; they digest it externally, outside their cells or body, and then absorb small molecules across their surface.

For inputs, processes and outputs: the input is dead organic matter; the process is enzyme secretion followed by external digestion and absorption; the outputs are saprotroph biomass, energy for the saprotroph, carbon dioxide from respiration and mineral nutrients released back into the ecosystem. A fallen leaf, then, does not simply “vanish”; it is biologically processed.
A domain is the highest taxonomic rank used to group organisms by basic cellular and molecular features. The three domains of life are Bacteria, Archaea and Eukarya. Archaea are unicellular organisms without a nucleus, and they form one of these three domains.
Archaea show a wide range of metabolisms. Different archaeal species use very different chemical or physical energy sources to make ATP. You don’t need to learn named examples, so keep the categories clear.
A phototroph is an organism that uses light as an energy source for ATP production. In archaea, this does not mean plant-like photosynthesis, and you do not need details of pigments or pathways.
A chemotroph is an organism that obtains energy for ATP production by oxidizing chemical substances. Some archaea oxidize inorganic chemicals.
A heterotrophic archaeon is an archaeal organism that obtains energy by oxidizing carbon compounds from other organisms or organic material.
The input-process-output idea here is about energy source. Inputs may be light, inorganic chemicals or carbon compounds. The shared process converts energy into ATP production. Outputs include ATP for cellular work and, depending on the pathway, different metabolic waste products. The syllabus point is diversity, not memorising examples.
Dentition is the arrangement, number and form of teeth in an animal’s jaws. Teeth give strong form-and-function evidence, since their shape is closely tied to how they process food.
The family Hominidae is a taxonomic family of primates that includes humans and the great apes. Some species in this family are mainly herbivorous; others are omnivorous.
A herbivore is an animal that feeds on plant material as its food source. In herbivorous hominids, molars and premolars tend to have large, flatter grinding surfaces, because fibrous plant material has to be crushed and ground.
An omnivore is an animal that feeds on both plant material and animal material. Omnivorous hominids usually show mixed dentition: incisors and canines for biting or tearing, with molars for crushing and grinding.

The skill is practical. Examine skull models, photographs or digital skull collections, then infer likely diet from anatomical features. Look at molar size and surface, canine prominence, jaw robustness and overall tooth wear. Humans, Homo floresiensis and Paranthropus robustus are suitable examples for this comparison, but the reasoning matters more than the name.
This also works as a Nature of Science example. Scientists observe living mammals with known diets and use those observations to build theories about dentition and diet. They can then use the theories deductively: if an extinct hominid has broad grinding molars and heavy jaws, a plant-rich diet is a reasonable inference. Still, it’s an inference, not a video recording of its lunch. Extra evidence, such as tooth wear, isotopes or associated fossils, can strengthen or weaken the deduction.
An adaptation is an inherited characteristic that increases the chance of survival or reproduction in a particular environment. In herbivory, both sides adapt: animals evolve ways to feed on plants, while plants evolve ways to avoid being eaten.
Many leaf-eating insects have mouthparts suited to the way they feed. Chewing mouthparts are paired, jaw-like structures that bite off and grind pieces of leaf before ingestion. They work well for insects that remove chunks of plant tissue.
Piercing mouthparts are narrow, tube-like structures that penetrate plant tissues and allow liquid food to be sucked out. Insects with these mouthparts feed from sap in vascular tissue rather than chewing the leaf blade.

Plants resist herbivory with physical and chemical defences. Thorns are sharp plant structures that deter feeding by increasing the risk of injury to herbivores. Spines, tough leaves, hairs and stinging tissues are other physical structures that can make feeding harder.
A secondary compound is a plant chemical that is not part of the basic metabolic pathways needed for growth and reproduction but can affect interactions with other organisms. Toxic secondary compounds in leaves and seeds can reduce herbivory. Seeds are especially worth defending because they contain stored nutrients and embryos for the next generation.
Some herbivores have counter-adaptations. A metabolic adaptation for detoxification is an enzyme-based or pathway-based ability to convert a toxin into a less harmful substance or tolerate its effects. This can lead to strong specificity: a herbivore may feed very well on one defended plant but poorly on others. Specificity gives efficiency; versatility gives broader options.
A predator is an organism that gets food by hunting, catching and feeding on other organisms. Prey is an organism hunted and eaten by a predator. Predator and prey adaptations are closely linked, because each side creates selection pressure on the other.
Predator adaptations can help with finding prey, catching prey and killing or subduing prey. Prey adaptations lower the chance of being detected, captured, killed or eaten.
| Type of adaptation | Predator examples in principle | Prey examples in principle |
|---|---|---|
| Physical | forward-facing eyes, sharp claws, piercing teeth, speed, grasping limbs | armour, spines, camouflage, protective shells, rapid escape structures |
| Chemical | venom, toxins, digestive secretions used in attack | stored toxins, irritants, bad taste, warning colours linked to chemical defence |
| Behavioural | stalking, ambush, cooperative hunting, learning where prey gather | schooling, alarm calls, hiding, freezing, fleeing, group vigilance |
Comparison of predator and prey adaptations by adaptation type.
| Adaptation type | Predator: finding prey | Predator: catching/killing prey | Prey: resisting predation |
|---|---|---|---|
| Physical | Forward-facing eyes improve depth judgement; high speed closes gaps | Sharp claws, piercing teeth and grasping limbs hold or kill prey | Camouflage, armour, spines, shells and rapid escape structures |
| Chemical | Chemical detection can help track prey scent or traces | Venom, toxins or digestive secretions subdue prey | Stored toxins, irritants, bad taste and warning colours deter attack |
| Behavioural | Stalking, ambush and learning where prey gather | Cooperative hunting and timed attacks increase capture success | Schooling, alarm calls, hiding, freezing, fleeing and group vigilance |
Behavioural adaptations can shift quickly when individuals learn or copy behaviour that works. Structural adaptations usually need genetic change over generations. Chemical adaptations may be slower still if new enzymes or altered regulation of metabolic pathways are involved. For exams, avoid writing that “animals try to adapt”; selection favours individuals whose existing variation improves survival or reproduction.
Light is a major abiotic resource for photosynthetic organisms. In many forests, water and temperature can support abundant plant growth, so plants often compete most strongly for light. Different plant forms tackle the same problem in different ways: get leaves into light without spending more resources than necessary.

Tall trees put a lot of biomass into supportive trunks and xylem, which lets a leading shoot reach the canopy. The gain is direct access to high light. The cost is the large amount of biomass needed for support and transport.
Lianas are woody climbing plants that use other plants for support as they grow towards brighter light. They invest less in self-support than a free-standing tree, and more in climbing growth.
Epiphytes are plants that grow on the surface of another plant without taking food from it. By growing on branches or trunks, epiphytes place their leaves in better light than they would get on the forest floor. The trade-off is limited access to soil water and mineral ions.
Strangler epiphytes are epiphytes that grow around a host tree and eventually overtop or shade it so strongly that the host may die. This form lets a seedling that starts high in the canopy develop into a large, light-harvesting plant.
Shade-tolerant shrubs and herbs take another route. They stay on the forest floor and have leaves adapted to use low light intensity efficiently. They don’t win the height competition; they survive in the dim conditions beneath it.
A fundamental niche is the full potential niche a species could occupy based on its adaptations and tolerance limits, if there were no competitors. Think of it as the “could live here” range.
A realized niche is the actual niche a species occupies once biotic interactions, especially competition, limit where it can survive, grow and reproduce. Think of it as the “does live here” range.

The realized niche is often smaller than the fundamental niche. A species might, in principle, tolerate a certain temperature, water depth or food type, but if a competitor does better there, that species may be excluded from that part of its potential range.
This distinction matters because it separates physiology from ecology. Tolerance limits and adaptations show what is possible for a species. Interactions with other species decide how much of that possibility is actually used in an ecosystem.
Competition is an interaction where organisms use the same limited resource, so one or both competitors get less access to it. It is strongest when two species need almost the same things.
Competitive exclusion is the elimination of one species from a habitat or ecosystem because another species outcompetes it for limiting resources. If two species have completely overlapping niches, and one uses the limiting resource more successfully every time, the weaker competitor cannot keep a realized niche there.
When two species have overlapping fundamental niches, two main outcomes are possible:

That is why ecologists describe niches as unique. Two species can be similar, but if they coexist long term in the same ecosystem, their realized niches must differ in at least one way: food size, feeding time, microhabitat, oxygen tolerance, light level, water depth, predator avoidance or another niche dimension.
In data, look for this pattern. Species grown separately usually show a distribution close to the fundamental niche. Grown together, any shift or narrowing shows realized niches under competition. If one species disappears across the whole overlap, that is competitive exclusion. If both remain but occupy different zones, that is niche restriction rather than total elimination.