About 252 million years ago, at the end of the Permian Period, a large proportion of species on Earth rapidly became extinct.