Militaries often function as societies within societies, by having their own military communities, economies, education, medicine and other aspects of a functioning civilian society.The profession of soldiering as part of a military group is older than recorded history itself.