A naval vessel designed to operate underwater, used for attacking enemy ships and conducting reconnaissance. The German U-boats and the American Gato-class submarines were some of the most feared during World War II.