Some dinosaurs ate lizards, turtles, eggs, or early mammals. Some hunted other dinosaurs or scavenged dead animals. Most, however, ate plants (but not grass, which hadn't evolved yet).