Why did the dinosaurs go extinct?

There are multiple theories around the extinction of dinosaurs. One popular theory is related to asteroids. Around 180 million years ago, a small asteroid hit the Gulf of Mexico. Its impact was enormous and dramatically changed the climate on Earth. As a result, most of the plants which the dinosaurs depended on for food were dead. This eventually led to the extinction of the dinosaurs.