The Evolutionary Arms Race
Predator-prey interactions drive a continuous evolutionary arms race: any anti-predator adaptation that improves prey survival favors predators able to counter it, which in turn favors further prey adaptation. Crypsis is camouflage that helps an organism avoid detection altogether. Aposematism is the opposite strategy — bright warning coloration advertising that an organism is toxic or unpalatable, so predators learn to avoid it rather than avoid being seen.
Mimicry exploits the signals predators have learned. In Batesian mimicry, a harmless species evolves to resemble a dangerous or unpalatable one, borrowing its reputation without paying its cost — a harmless hoverfly resembling a stinging wasp, for instance. In Müllerian mimicry, multiple genuinely dangerous species converge on a similar warning appearance, sharing the cost of "teaching" predators to avoid that pattern, since every individual that gets eaten while teaching the lesson benefits the whole mimicry ring.
The Red Queen Hypothesis (Leigh Van Valen) captures why this arms race never truly ends: because predators and prey are each adapting to the other's adaptations, a species must keep evolving merely to maintain its relative fitness — running, in effect, just to stay in place. Group living adds further protection: the dilution effect means an individual's own risk of predation falls as group size rises, and the many-eyes effect means a larger group detects approaching predators sooner through combined vigilance.
Common pitfall: assuming Batesian and Müllerian mimicry work the same way. They do not: Batesian mimicry involves a genuinely harmless species free-riding on a dangerous one's reputation, while Müllerian mimicry involves multiple genuinely dangerous species converging for mutual benefit — no free-riding involved.