A submarine is being loaded onto a ship in a dockyard.