Did they have gills, or breathing holes on top of their heads? Otherwise, how would they breathe?
They were reptiles which have lungs.