How did dinosaurs become extinct? 1

Dinosaurs ,that everyone is now aware of, were the dominant vertebrate animals of the terrestrial ecosystems for over 160 million years, first appearing approximately 230 million years ago.

What happened to them?
Why they became extinct? Whats the reason?