while compressed air valves introduce compressed air to bring the submarine to the surface. Safety valves prevent overpressure, and check valves prevent water from flowing back into the tanks.