A shipyard is a facility located along a waterway for the maintenance and repair of ships on land. There are shipyards with longitudinal and transverse slipways, as well as lockable docks that can be pumped or drained to drydock ships.