Fun fact: While the dinosaurs were killed due to the astroid impact 66 million years ago. There was also a volcanic event that had already been ongoing known as a flood basalt event. This isn't to say that volcanism caused the extinction, it was certainly caused by the chicxulub event. However, it's also safe to say that life was probably not sunshine and rainbows leading up to the impact. Whether or not the Daccan trap volcanism had a any hand in the extinction event is currently debated.