It had lungs , but its ribs were too short to give support to its chest cavity out of water , and it also had gills which were internal and covered like those of fish , not external and naked like those of some modern amphibians which are almost wholly aquatic .
It had gills which were internal and covered like those of fish , not external and naked like those of some modern aquatic amphibians .