Dinosaurs are a diverse group of reptiles that were the dominant terrestrial life form on Earth during the Mesozoic Era, about 245 million years ago. Dinosaurs went into decline near the end of the Cretaceous Period, about 66 million years ago.