One thing about dinosaurs that I've just recently realized is that not all of them lived at same time. For example stegosaurus and tyrannosaurus had ~100 million years between them!
Yep, that's why they're all divided into different periods of existence.