Scientists in Japan studied stones found inside dinosaur fossils. They found different dinosaur groups used different ways to digest food, like birds, mammals, or through fermentation.