A submarine is a specialized ship that travels under water