Dinosaurs grew feathers for heat regulation, but the ones that started flying started becoming birds.