Last updated at 11:43

What happened to dinos? An animation

To enjoy the CBBC Newsround website at its best you will need to have JavaScript turned on.

Scientists have long believed that dinosaurs became extinct 65 million years ago, because of a giant asteroid hitting the Earth.

But now researchers think that dinosaurs may have already been dying out, long before the asteroid hit, because of changes to the planet.

By studying fossils, they have found evidence that dinosaurs might have been struggling to adapt to changes in the environment tens of millions of years before dying out.

Take a look at this new animation explaining all about what happened to dinosaurs.