A deck gun is a type of naval artillery mounted on the deck of a submarine. Most submarine deck guns were open, with or without a shield; however, a few larger submarines placed these guns in a turret. Some submarines also had additional deck guns like auto-cannons and machine guns for anti-aircraft defense.