Dinosaurs appeared in what era?

Precambrian

Paleozoic

Cenozoic

Mesozoic