Based on careful study of fossilized teeth, scientists have found that multiple ancient groups of crocodyliforms — the group including living and extinct relatives of crocodiles and alligators — were not the carnivores we know today. Evidence suggests that a veggie diet arose in the distant cousins of modern crocodylians at least three times.