Ungulates are typically herbivorous and many use specialised gut flora to digest cellulose. Some modern species, such as pigs, are omnivorous. Some prehistoric species, such as the Mesonychia, were carnivorous.