A catastrophic rise in temperature wiped out the vast majority of life on Earth 250 million years ago.