Many insect larvae live in water. Many of those have gills that can extract oxygen dissolved in water. Others must rise to the water surface to get air which may be held or trapped in special parts of their body.