Some dinosaurs like the Velociraptor and T-Rex were carnivores that ate meat from other animals like lizards, turtles, and eggs. Most dinosaurs were herbivores like the Stegosaurus that used their blunt teeth to eat plants and vegetation from the ground or trees depending on their neck length. Herbivores made up the largest group of dinosaurs and ate leaves, twigs, and other plant matter for food.