In addition to long necks, many dinosaurs had other adaptations that helped them survive in their environments. For example, many had specialized teeth or beaks for eating specific types of vegetation, while others had armor or spines for protection against predators. Some dinosaurs also had long tails for balance or communication, or specialized feet for different modes of locomotion.