Why were dinosaurs scaly?

Bok