;colony/science  / Biology  / How does natural selection work?
Biology

How does natural selection work?

Nobody designs a camouflaged moth. It emerges on its own, generation by generation, from nothing more than dying, breeding, and small inherited differences.

Plate 60 — Survival of the hidden variation + selection + inheritance
Pick a bark colour, run generations, watch the moths turn to match.
Predict firstBefore you set the bark: which moth colour will the population drift toward over time?
the bark · generation 0the predator picks the obvious onesbackgroundpopulation's average colourcamouflage match80%who's alive, by shade lightdark
PLATE 60 · SURVIVAL OF THE HIDDEN
Bark colour mid bark
Pick the tree. Whoever matches it survives the longest.
Generation
0
Camouflage match
80%
The moths start in every shade. A hungry bird spots the ones that don't match the bark and eats them first. The well-hidden moths live to have babies, and babies look like their parents. Do this again and again and the whole group slowly turns the colour of the tree. Nobody chose to change — the visible ones just kept getting eaten. Move the slider to a new tree and watch them re-hide.
Try with the plate
  • Set a dark bark and run the generations until the moths match.
  • Change the background and watch the favoured colour flip.

Natural selection needs just three things: heritable variation, differential survival, and inheritance. Individuals better matched to their environment leave more offspring, so advantageous traits accumulate over generations. There is no goal or designer — the population simply drifts toward whatever the environment rewards.

The short answer

In any group of animals, no two are quite the same — some moths are a bit darker, some lighter. If birds can spot the ones that stand out against the tree bark, those get eaten and the hidden ones survive to have babies, who tend to look like their parents. Do that over many generations and the whole group drifts toward whatever colour hides best. No one chose it — the survivors simply passed on what kept them alive. Pick a bark colour and run the generations to watch it happen.

The common mix-up

Most people think evolution is a plan unfolding toward a goal, or creatures trying to adapt. In fact it is a blind, automatic result of variation, differential survival and inheritance — the population just drifts toward whatever the environment rewards.

What's actually happening

Evolution by natural selection is often misunderstood as a grand plan unfolding toward some goal, or as creatures "trying" to adapt. It is neither. It is a blind, automatic consequence of three plain facts, and once you see them lined up, the camouflaged moth and the streamlined fish stop looking designed and start looking inevitable.

The first fact is variation: within any population, individuals differ, and some of those differences are inherited from their parents. Some moths are born a little darker, some lighter — and offspring tend to resemble their parents. The second fact is that more are born than can survive, and survival isn't random: a moth that stands out against the bark is spotted and eaten by birds, while a well-matched one is overlooked. The third fact is simply that the survivors are the ones who breed. Put the three together and something remarkable happens with no guiding hand: each generation, the visible moths are removed and the hidden ones pass on their hidden-ness, so the whole population creeps toward the colour of the bark. The simulator runs exactly this loop — set a bark shade, and over ten generations the moths drift to match it, with the average colour tracking the background.

The famous real example is the peppered moth in industrial Britain. Before the 1800s most were pale, blending with lichen-covered trees; a rare dark form stood out and was eaten. Then soot from factories blackened the bark, killing the lichen — and almost overnight (in evolutionary terms) the dark moths became the hidden ones and exploded in number, while the pale ones were now conspicuous and devoured. When clean-air laws later lightened the trees again, the pale form returned. Nothing about the moths changed on purpose; the environment simply changed which colour survived, and the population followed. That is the entire engine of evolution — not striving, not design, just differential survival compounding over time. Given billions of years of it, single cells became eyes, wings, and brains.

Remember this

Nobody designs a camouflaged moth; it emerges from dying, breeding and small inherited differences — the same engine that breeds antibiotic resistance in a hospital.

Try it at home Run selection with sweets
  1. 1Scatter a mix of red and green sweets on a green cloth. You're the predator — pick up (eat) sweets as fast as you can for ten seconds.
  2. 2You'll grab far more red ones; they stand out. Count the survivors: mostly green.
  3. 3Now "breed" the survivors by adding more of whatever colour remained, and repeat. After a few rounds the bowl is nearly all green — the cloth's colour won, with no one choosing it.

Common questions

Does evolution have a goal or plan?

No. It is a blind, automatic consequence of variation, survival and inheritance. "Survival of the fittest" does not mean strongest — fittest just means best-matched to the current environment, which changes as the environment does.

Is there a real example caught in action?

The peppered moth. Industrial soot blackened tree bark, flipping the favoured colour from pale to dark within decades; clean-air laws later flipped it back — natural selection observed within human lifetimes.

How does this relate to antibiotic resistance?

It is the same engine. Bacteria that happen to survive a drug breed the next generation, so misusing antibiotics selects for resistant strains — evolution on a hospital timescale.

Built & checked by Nilesh Singh · how this is made · last updated June 2026