Answer:
Gills are evaginations of the body surface. Some open directly to the environment; others, as in fishes, are enclosed in a cavity. In contrast, lungs represent invaginations of the body surface. Many invertebrates use gills as a major means of gas exchange; a few, such as the pulmonate land snail, use lungs.
Step-by-step explanation:
They're just their to help the fish breath