Dinosaurs lived approximately 160 million years ago in a variety of habitats around the world. They came in many different sizes and colors, with some possessing horns or other defenses. While many dinosaurs ate plants, others preyed on smaller animals. It is theorized that an asteroid collision in Mexico wiped out many dinosaur species and ultimately led to their extinction.