Which statement best describes dinosaurs?

Dinosaurs evolved into other animals during the Cenozoic Era

Dinosaurs died out because of natural causes and a mass extinction during the Paleozoic Era.

Dinosaurs died out because of natural causes during the Paleozoic Era.

Dinosaurs died out because of a mass extinction at the end of the Mesozoic Era.