Dinosaurs existed millions of years ago before humans. They lived during the Mesozoic Era and were prehistoric reptiles that ruled the Earth around 160 million years ago. Dinosaurs died out millions of years ago but have fascinated people ever since their fossils were first discovered and described in the early 1800s.