Military history is often considered to be the history of all conflicts, not just the history of the state militaries. It differs somewhat from the history of war, with military history focusing on the people and institutions of war-making, while the history of war focuses on the evolution of war itself in the face of changing technology, governments, and geography.
After enlistment, new recruits undergo basic training (also known as "boot camp" in the Marine Corps, Navy and Coast Guard), followed by schooling in their primary Military Occupational Specialty (MOS), rating and Air Force Specialty Code (AFSC) at any of the numerous training facilities around the United States. Each branch conducts basic training differently. The Marine Corps send all non-infantry MOS's to an infantry skills course known as Marine Combat Training prior to their technical schools. Air Force Basic Military Training graduates attend Technical Training and are awarded their Air Force Specialty Code (AFSC) at the apprentice (3) skill level. All Army recruits undergo Basic Combat Training (BCT), followed by Advanced Individual Training (AIT), with the exceptions of cavalry scouts, infantry, armor, combat engineers and military police recruits who go to One Station Unit Training (OSUT), which combines BCT and AIT. The Navy sends its recruits to Recruit Training and then to "A" schools to earn a rating. The Coast Guard's recruits attend basic training and follow with an "A" school to earn a rating.
All of the branches work together during operations and joint missions in Unified Combatant Commands, under the authority of the Secretary of Defense with the typical exception of the Coast Guard. Each of the Unified Combatant Commands is headed by a Combatant Commander, a senior commissioned officer who exercises supreme command authority per 10 U.S.C. § 164 over all of the forces, regardless of branch, within his geographical or functional command. By statute, the chain of command flows from the President to the Secretary of Defense to each of the Combatant Commanders. In practice, the Chairman of the Joint Chiefs of Staff often acts as an intermediary between the Secretary of Defense and the Combatant Commanders.
In Medieval Europe, tales of knighthood and chivalry, the officer class of the period captured the popular imagination. Writers and poets like Taliesin, Chrétien de Troyes and Thomas Malory wrote tales of derring-do, featuring Arthur, Guinevere, Lancelot and Galahad. Even in the 21st century, books and films about the Arthurian legend and the Holy Grail continue to appear.
Somewhat earlier, in medieval China, gunpowder had been invented, and was increasingly used by the military in combat. The use of gunpowder in the early vase-like mortars in Europe, and advanced versions of the long bow and cross bow, which all had armour-piercing arrowheads, that put an end to the dominance of the armoured knight. After the long bow, which required great skill and strength to use, the next most significant technological advance was the musket, which could be used effectively, with little training. In time, the successors to muskets and cannon, in the form of rifles and artillery, would become core battlefield technology.
As of 2017, the U.S. spends about US$610 billion annually to fund its military forces and Overseas Contingency Operations. Put together, the U.S. constitutes roughly 40 percent of the world's military expenditures. The U.S. Armed Forces has significant capabilities in both defense and power projection due to its large budget, resulting in advanced and powerful technologies which enables a widespread deployment of the force around the world, including around 800 military bases outside the United States. The U.S. Air Force is the world's largest air force, the U.S. Navy is the world's largest navy by tonnage, and the U.S. Navy and the U.S. Marine Corps combined are the world's second largest air arm. In terms of size, the U.S. Coast Guard is the world's 12th largest naval force. 
The President of the United States is the Commander in Chief, who is responsible for all final decisions. The Secretary of the Department of Defense (DoD) has control over the military and each branch - except the Coast Guard, which is under the Dept. of Homeland Security. With over 2 million civilian and military employees, the DoD is the world's largest "company."
The process of allocating resources is conducted by determining a military budget, which is administered by a military finance organisation within the military. Military procurement is then authorised to purchase or contract provision of goods and services to the military, whether in peacetime at a permanent base, or in a combat zone from local population.
The AFQT (Armed Forces Qualifying Test) score is arguably the most important ASVAB score because it determines whether you’re eligible to join the military branch of your choice. Although the AFQT is often called the “overall ASVAB score,” that’s not quite correct, because it’s derived from only four subtests: Verbal Expression (VE), which is computed from the Paragraph Comprehension (PC) and Word Knowledge (WK) subtests, Arithmetic Reasoning (AR), and Math Knowledge (MK).