How does a submarine work ?

What is submarine & why we need it ? Imagine you are on-board a ship & what would be the worst thing that would happen to you ? – the water flooding inside the ship making it sink to the seabed…damn…! So we need something which ensures either it doesn’t sink OR even after sinking,…

SURPRISE ME !