Har krokodiler gälar eller lungor?

Jag tror att de har lungor eftersom de har att komma upp för andedräkt