The ballast tanks on the sides of the submarine are open at the bottom. Air is used to change the level of the water in the tanks.