What did dinosaurs eat?

Some dinosaurs ate lizards, turtles, eggs, or untimely mammals. Some hunted other dinosaurs or scavenged dead animals. Most, however, ate plants (but not lawn, which hadn't evolved yet). Rocks that contains dinosaur bones also include fossil pollen and spores that indicate hundreds to thousands of types of plants existed throughout the Mesozoic Era. numerous of these plants had edible leaves, including evergreen conifers (pine trees, redwoods, and their relations), ferns, mosses, horsetail rushes, cycads, ginkos, and in the latter part of the dinosaur period flowering (fruiting) plants. though the exact time of origin for flowering plants is still unsure, the last of the dinosaurs surely had fruit available to eat.