Question: how are gills and lungs different?
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.