Military
A military or armed force is a professional organization formally authorized by a sovereign state to use lethal or deadly force and weapons to support the interests of the state and some or all of its citizens. It typically consists of branches such as an Army, Navy, Air Force, and in certain countries the Marines and Coast Guard. The task of the military is usually defined as defence of the state, and its citizens, and the prosecution of war against another state. The military may also have additional sanctioned and non-sanctioned functions within a society, including, the promotion of a political agenda, protecting corporate economic interests, internal population control, construction, emergency services, social ceremonies, and guarding important areas. The military may also function as a discrete subculture within a larger civil society, through the development of separate infrastructures, which may include housing, schools, utilities, logistics, health and medical, law, food production, finance and banking.
Security
Security is freedom from, or resilience against, potential harm (or other unwanted coercive change) from external forces. Beneficiaries (technically referents) of security may be persons and social groups, objects and institutions, ecosystems, and any other entity or phenomenon vulnerable to unwanted change by its environment.
State
We have entered a time of global transition marked by uniquely contradictory trends. Regional and continental associations of States are evolving ways to deepen cooperation and ease some of the contentious characteristics of sovereign and nationalistic rivalries. National boundaries are blurred by advanced communications and global commerce, and by the decisions of States to yield some sovereign prerogatives to larger, common political associations. At the same time, however, fierce new assertions of nationalism and sovereignty spring up, and the cohesion of States is threatened by brutal ethnic, religious, social, cultural or linguistic strife. Social peace is challenged on the one hand by new assertions of discrimination and exclusion and, on the other, by acts of terrorism seeking to undermine evolution and change through democratic means.
Boutros Boutros-Ghali, An Agenda for Peace: Preventive diplomacy, peacemaking and peace-keeping (1992)
Security
Everywhere, men resign themselves to the most extreme sacrifices rather than do without government and hence security, without realizing that in so doing, they misjudge their alternatives.Suppose that a man found his person and his means of survival incessantly menaced; wouldn't his first and constant preoccupation be to protect himself from the dangers that surround him? This preoccupation, these efforts, this labor, would necessarily absorb the greater portion of his time, as well as the most energetic and active faculties of his intelligence. In consequence, he could only devote insufficient and uncertain efforts, and his divided attention, to the satisfaction of his other needs.
Even though this man might be asked to surrender a very considerable portion of his time and of his labor to someone who takes it upon himself to guarantee the peaceful possession of his person and his goods, wouldn't it be to his advantage to conclude this bargain?
Still, it would obviously be no less in his self-interest to procure his security at the lowest price possible.
Gustave de Molinari, tr. J. Huston McCulloch, §I of The Production of Security (Auburn, AL: Ludwig von Mises Institute, 2009; orig. 1849), pp. 20–21.