Though mass extinctions wiped out staggeringly high numbers of species, they barely touched the overall ‘functional’ diversity — how each species makes a living, be it filtering phytoplankton or eating small crustaceans, burrowing or clamping onto rocks.