Warships protect the movement over water of military forces to coastal areas where they may be landed and used against enemy forces; warships protect merchant shipping against enemy attack; they prevent the enemy from using the sea to transport military forces; and they attack the enemy's merchant shipping.