structural:reformatting, information:highlighting
As part of society

For much of military history, the armed forces were considered to be for use by the heads of their societies, until recently, the crowned heads of states. In a democracy or other political system run in the public interest, it is a public force.

The relationship between the military and the society it serves is a complicated and ever-evolving one. Much depends on the nature of the society itself, and whether it sees the military as important, as for example in time of threat or war, or a burdensome expense typified by defence cuts in time of peace.

One difficult matter in the relation between military and society is control and transparency. In some countries, limited information on military operations and budgeting is accessible for the public. However, transparency in the military sector is crucial to fight corruption. This showed the Government Defence Anti-corruption Index Transparency International UK published in 2013.

Militaries often function as societies within societies, by having their own military communities, economies, education, medicine, and other aspects of a functioning civilian society. A military is not limited to nations in of itself, as many private military companies (or PMCs) can be used or hired by organizations and figures as security, escort, or other means of protection where police, agencies, or militaries are absent or not trusted.