Crocodilians first appeared about 250 million years ago during the early Triassic period and diversified during the Mesozoic era. They are found mainly in tropical regions, living in freshwater habitats and feeding on fish, birds, and mammals. Crocodilians have thick, armored skin and a long body with a powerful tail. They are distinguished by variations in head shape, such as the long, narrow snout of the gharial. Crocodilians share affinities with dinosaurs, chelonians, lepidosaurs, birds, and mammals in features of their skeleton, muscles, and reproductive organs.