A warship is a ship that is built and primarily intended for combat. As well as being armed, warships are designed to withstand damage and are usually faster and more maneuverable than merchant ships. Unlike a merchant ship, which carries cargo, a warship typically only carries weapons, ammunition and supplies for its crew. Warships usually belong to a navy, though they have also been operated by individuals or companies.
In wartime, the distinction between warships and merchant ships is often blurred. In war, merchant ships are often armed and used as auxiliary warships, such as the Q-ships of the First World War and the armed merchant cruisers of the Second World War. Until the 17th century it was common for merchant ships to be pressed into naval service and not unusual for more than half a fleet to be composed of merchant ships. Until the threat of piracy subsided in the 19th century, it was normal practice to arm larger merchant ships such as galleons. Warships have also often been used as troop carriers or supply ships, such as by the French Navy in the 18th century or the Japanese Navy during the Second World War.