It is a natural history tale that every third grader knows: The dinosaurs ruled the Earth for hundreds of millions of years, until an asteroid struck the Yucatan Peninsula and triggered a mass extinction that allowed the ancestors of today’s mammals to thrive.