Spinosaurus, Acrocanthosaurus or Tyrannosaurus, there were many different species of dinosaurs. However, they have not lived for a very long time. They have disappeared from the earth.
When these powerful dinos still ruled the Earth, a huge boulder from outer space probably hit the Earth. There was a huge explosion. As a result, there was fire everywhere. Dust and ash swirled through the air. And darkened the sky. The sunlight no longer reached the earth. So it became darker and colder.
It was winter everywhere in the world, which lasted for many years. Without sun, the plants died. Therefore, the herbivorous dinos could no longer find food. And starved to death. The last to die were the carnivores. Because they could make no more loot.
In a nutshell. A huge rock from space probably changed the climate on earth and so the dinosaurs died out.