A new analysis of nearly 40 years of data from three tracts of North American grassland confirms what researchers have long said: that biodiversity can be a natural defense against climate threats.

But the study also reveals that coping with climate extremes isn’t just a numbers game where the more species an ecosystem has, the better. Multiple dimensions of biodiversity can help nature survive—and thrive—in harsh conditions, the researchers report.