Sort:  

It works like a submarine. The bellows are full of air that allows the sub to surface. Compressing the air makes the air fit into a smaller space. Water then takes the place of the compressed air making the sub Less buoyant causing it to sink. When the water is released the air fills the void pushing all the water out causing the sub to be more buoyant. Now the sub will rise.