National security refers to policy enacted by governments to ensure the survival and safety of the nation-state, including but not limited to the exercise of diplomatic, economic, and military power in both peace and war.