What does a Submarine do?

A submarine can dive deep underwater and peek up with its long periscope!

▶ what THAT boat do?!