How do submarines work?

Submarines can both move under and above water because they are able to change their density.

image image

When they want to emerge, they pump the water out of the dip tank and so their density decreases.

When they want to immerse, they pump water into the dip tank and so their density increases.

image