Original: These large gill chambers close tightly when the fish is above water, keeping the gills moist, and allowing them to function.
Simplified: This keeps the gills moist and lets them to function.