Their diet was diverse; much like the modern classification of animals based on diet, some dinosaurs were herbivores, some were carnivores, some were omnivores and some were specialized scavengers. Likewise, some were strictly terrestrial, some were aquatic, and some had developed adaptations that afforded them a rudimentary skill of flight.