Naval artillery refers to ship-mounted cannon used for attacking other vessels, defending against aircraft, or for naval gunfire support.