Hadrosaurids, also commonly referred to as duck-billed dinosaurs or hadrosaurs, were large terrestrial herbivores. The diet of hadrosaurid dinosaurs remains a subject of debate among paleontologists, especially regarding whether hadrosaurids were grazers who fed on vegetation close to the ground, or browsers who ate higher-growing leaves and twigs. Preserved stomach content findings have indicated they may have been browsers, whereas other studies into jaw movements indicate they may have been grazers.The mouth of a hadrosaur had hundreds of tiny teeth packed into dental batteries. These teeth were continually replaced with new teeth. Hadrosaur beaks were used to cut food, either by stripping off leaves or by cropping. It is believed hadrosaurs had cheeks in order to keep food in the mouth.Researchers have long believed their unusual mouth mechanics may have played a role in their evolutionary success. However, because they lack the complex flexible lower jaw joint of today's mammals, it has been difficult for scientists to determine exactly how the hadrosaurs broke down their food and ate. Without this understanding, it had been impossible to form a complete understanding of the Late Cretaceous ecosystems and how they were affected during the Cretaceous–Paleogene extinction event 66 million years ago. It has also remained unclear exactly what hadrosaurids ate. In particular, it has never been definitively proven whether hadrosaurs were grazers who ate vegetation close to the ground, like modern-day sheep or cows, or whether the dinosaurs were browsers who ate higher-growing leaves and twigs, like today's deer or giraffes.A 2008–2009 study by University of Leicester researchers analyzed hundreds of microscopic scratches on the teeth of a fossilized Edmontosaurus jaw and determined hadrosaurs had a unique way of eating unlike any creature living today. In contrast to a flexible lower jaw joint prevalent in today's mammals, a hadrosaur had a unique hinge between the upper jaws and the rest of its skull. The team found the dinosaur's upper jaws pushed outwards and sideways while chewing, as the lower jaw slid against the upper teeth.Coprolites (fossilized droppings) of some Late Cretaceous hadrosaurs show that the animals sometimes deliberately ate rotting wood. Wood itself is not nutritious, but decomposing wood would have contained fungi, decomposed wood material and detritus-eating invertebrates, all of which would have been nutritious.