Nuclear deterrence is a military strategy aimed at preventing an adversary from taking unwanted actions, particularly the use of nuclear weapons, by ensuring that the consequences would be catastrophic. This concept relies on the threat of significant retaliation, making the cost of aggression outweigh any potential benefits. During critical events such as the Cuban Missile Crisis and the Bay of Pigs invasion, nuclear deterrence played a vital role in shaping U.S. and Soviet actions, as both sides recognized the potential for mutual destruction.