Dinosaurs are a diverse group of animals of the clade Dinosauria that first appeared during the Triassic period. Although the exact origin and timing of the evolution of dinosaurs is the subject of active research, the current scientific consensus places their origin between 231 and 243 million years ago. They became the dominant terrestrial vertebrates after the Triassic–Jurassic extinction event 201 million years ago. Their dominance continued through the Jurassic and Cretaceous periods and ended when the Cretaceous-Paleogene extinction event led to the extinction of most dinosaur groups 66 million years ago. Until the late 20th century, all groups of dinosaurs were believed to be extinct; however, the fossil record indicates that birds are the modern descendants of feathered dinosaurs, having evolved from theropod ancestors during the Jurassic Period, and are now termed "avian dinosaurs". As such, birds were the only dinosaur lineage to survive the mass extinction event. Throughout...