Dinosaurs were a diverse group of reptiles of the clade Dinosauria. They first appeared during the Mesozoic Era, which is divided into three periods: the Triassic, Jurassic, and Cretaceous. Dinosaurs dominated the terrestrial ecosystems for over 160 million years. They were a highly successful group of animals, with an incredible range of sizes, shapes, and ecological adaptations.
Dinosaurs are classified into two main groups: the Saurischia and the Ornithischia. The Saurischia includes the theropods (such as Tyrannosaurus rex and Velociraptor) and the sauropodomorphs (such as Brachiosaurus and Diplodocus). The Ornithischia includes the herbivorous dinosaurs such as Stegosaurus and Triceratops.
Dinosaurs were vertebrates, meaning they had a backbone and a well-defined skull. They were also diapsids, meaning they had two holes in their skulls behind their eyes. Many dinosaurs were bipedal, walking on two legs, while others were quadrupedal, walking on four legs. They had a wide range of adaptations for feeding, locomotion, and defense.
One of the most intriguing aspects of dinosaurs is their extinction. The prevailing theory is that a massive asteroid impact, combined with volcanic activity, led to global climate change and the eventual extinction of non-avian dinosaurs at the end of the Cretaceous period, approximately 66 million years ago.