Submarine warfare consists primarily of diesel and nuclear submarines using torpedoes, missiles or nuclear weapons, as well as advanced sensing equipment, to attack other submarines, ships, or land targets.