A sloop-of-war was a ship of the Royal Navy.
Particularly in the Age of Sail, the word ship might apply generally to a seagoing vessel or particularly to a full-rigged sailing ship with three or more masts, all square-rigged
Warships and other surface combatants  aircraft carriers, destroyers, frigates, corvettes, minesweepers, etc

