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. 
Note: While the U.S. Navy is older than the Marine Corps, the Marine Corps takes precedence due to previous inconsistencies in the Navy's birth date. The Marine Corps has recognized its observed birth date on a more consistent basis. The Second Continental Congress is considered to have established the Navy on 13 October 1775 by authorizing the purchase of ships, but did not actually pass the "Rules for the Regulation of the Navy of the United Colonies" until 27 November 1775. The Marine Corps was established by act of said Congress on 10 November 1775. The Navy did not officially recognize 13 October 1775 as its birth date until 1972, when then–Chief of Naval Operations Admiral Elmo Zumwalt authorized it to be observed as such.
The United States Coast Guard traces its origin to the founding of the Revenue Cutter Service on 4 August 1790 which merged with the United States Life-Saving Service on 28 January 1915 to establish the Coast Guard. The United States Air Force was established as an independent service on 18 September 1947; it traces its origin to the formation of the Aeronautical Division, U.S. Signal Corps, which was formed 1 August 1907 and was part of the Army Air Forces before becoming an independent service as per the National Security Act of 1947.
Command over the U.S. Armed Forces is established in the Constitution. The sole power of command is vested in the President by Article II as Commander-in-Chief. The Constitution presumes the existence of "executive Departments" headed by "principal officers", whose appointment mechanism is provided for in the Appointments Clause. This allowance in the Constitution formed the basis for creation of the Department of Defense in 1947 by the National Security Act. The DoD is headed by the Secretary of Defense, who is a civilian and member of the Cabinet. The Defense Secretary is second in the U.S. Armed Forces chain of command, with the exception of the Coast Guard, which is under the Secretary of Homeland Security, and is just below the President and serves as the principal assistant to the President in all defense-related matters. Together, the President and the Secretary of Defense comprise the National Command Authority, which by law is the ultimate lawful source of military orders.
Personnel may be recruited or conscripted, depending on the system chosen by the state. Most military personnel are males; the minority proportion of female personnel varyies internationally (approximately 3% in India, 10% in the UK, 13% in Sweden, 16% in the US, and 27% in South Africa). While two-thirds of states now recruit or conscript only adults, as of 2017 50 states still relied partly on children under the age of 18 (usually aged 16 or 17) to staff their armed forces.
A military or an 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. 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 defense 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.
What is the military? In simple terms, the U.S. Armed Forces are made up of the five armed service branches: Air Force, Army, Coast Guard, Marine Corps, and Navy. There are three general categories of military people: active duty (full-time soldiers and sailors), reserve & guard forces (usually work a civilian job, but can be called to full-time military duty), and veterans and retirees (past members of the military). And of course there are the millions of family members and friends of military members, past and present. But you're here to learn more about the military. There is much to learn! So first the basics. Exactly who is in charge?
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.
The U.S. Armed Forces are one of the largest militaries in terms of the number of personnel. It draws its personnel from a large pool of paid volunteers. Although conscription has been used in the past in various times of both war and peace, it has not been used since 1972, but the Selective Service System retains the power to conscript males, and requires that all male citizens and residents residing in the U.S. between the ages of 18–25 register with the service.
During the war, significant advances were made in military communications through increased use of radio, military intelligence through use of the radar, and in military medicine through use of penicillin, while in the air, the guided missile, jet aircraft, and helicopters were seen for the first time. Perhaps the most infamous of all military technologies was the creation of the atomic bomb, although the exact effects of its radiation were unknown until the early 1950s. Far greater use of military vehicles had finally eliminated the cavalry from the military force structure.
The first recorded use of the word military in English, spelled militarie, was in 1585. It comes from the Latin militaris (from Latin miles, meaning "soldier") through French, but is of uncertain etymology, one suggestion being derived from *mil-it- – going in a body or mass. The word is now identified as denoting someone that is skilled in use of weapons, or engaged in military service, or in warfare.