Birds are more closely related to crocodilians than the latter are to the rest of extant reptiles .
Crocodiles are more closely related to birds than they are to lizards .