A crocodile is a large amphibious reptile. It lives mostly in large tropical rivers, where it is an ambush predator.
The modern type of crocodile appeared first in the Eocene period. Its ancestors go much further back to the Upper Triassic. They are basically Archosaurs, a group which also includes the dinosaurs.