An omnivorous dinosaur was one that ate both plants and meat. There are only a few known omnivores among the dinosaurs, including Ornithomimus and perhaps Oviraptor, although new fossil finds may change scientists’ opinion about the latter. A diet of an omnivorous dinosaur could include different types of plants, insects, eggs, and small animals. These omnivorous dinosaurs were probably rare, only eating this way out of necessity, such as when there was a sudden lack of meat or plants in their surrounding habitat. Others believe these dinosaurs were omnivores by accident, eating insects and small animals as they ate the plants around them.