Which of the following best defines the term "defense" in a military context?
A) Defense refers to the strategic planning and execution of offensive operations to gain control over enemy territory.
B) Defense involves the measures and strategies used to protect a country or entity from potential threats and attacks.
C) Defense is the process of negotiating treaties and agreements with other countries to ensure peace.
D) Defense includes economic policies aimed at enhancing trade relations with neighboring countries.