The short answer: an asteroid
An asteroid probably six to ten miles across struck Earth just off the coast of what is now the Yucatan Peninsula in Mexico. It made a crater more than ninety miles wide. You can't see the crater today, because it is buried under newer rock, but scientists have measured its shape under the ground. It is called the Chicxulub crater (say it CHEEK-shoo-loob).
The dinosaurs did not all disappear in one day. The crash changed the whole world's weather and food, and over the time that followed, the dinosaurs that weren't birds died out.
What the crash did
The crash threw dust and rock high into the sky. The dust blocked out the sunlight for a long time. Plants need sunlight to grow, so many plants died or stopped growing until the sky cleared.
That is a food chain problem. With fewer plants, the plant-eating dinosaurs had less to eat, and so did the meat-eaters that ate them. It took years for the sky to clear, and much longer for life to spread out again.
The clues scientists found
All over the world there is a thin layer of clay in the rocks, right where the age of dinosaurs ends. That clay has a lot of a metal called iridium, which is rare on Earth's surface but common in asteroids. A team led by the scientist Luis Alvarez and his son Walter, a geologist, noticed this and suggested an asteroid had hit.
Near the crater there are also grains of quartz that were cracked by a huge shock, and tiny glassy beads made of rock that melted, flew up into the air and cooled again. Together these clues point to one giant crash.
Who made it through
Not everyone died out. Smaller animals, and animals that could shelter in burrows or in water, did better than big land animals. Small mammals had already lived alongside the dinosaurs, and they made it through.
So did a few groups of birds, and that matters, because birds are dinosaurs. So the dinosaurs that weren't birds are gone, but the bird kind are still singing outside your window. In the sea, the mosasaurs and plesiosaurs were gone, and so were the coiled-shell ammonites. In the air, the pterosaurs were gone.
Did people see it happen?
No. After the dinosaurs died out, it was nearly sixty-five million years before people appeared on Earth. No person has ever seen a dinosaur that wasn't a bird. Everything we know comes from fossils and the rocks around them.
For Big readers: other suspects, and luck
Scientists argued about this for a long time, and some still look at other causes that may have made things worse. At the same time as the asteroid, huge amounts of lava were pouring out in western India (a place called the Deccan Traps), the shallow seas over the land were draining away, and the climate was changing. But most scientists now accept the asteroid as the best explanation.
The end of the age of dinosaurs is the most famous mass extinction, a time when many kinds of living things died out at once. It is the second largest. The largest was at the end of the Permian, long before. The Park Service makes a good point about all of them: surviving such a rare event is more a matter of luck than of one kind of animal being better than another.
Pick Big at the top to see the part for older readers.