This event is known as a mass extinction.
There has only been a small number of mass extinction events during the Earth's history but is accountable for the death of the dinosaurs as well as a vast array of organisms that once inhabited the lands and sea.
I hope this helps! I'm happy to help with any other questions you might have :)