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.
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. 
Military history has a number of facets. One main facet is to learn from past accomplishments and mistakes, so as to more effectively wage war in the future. Another is to create a sense of military tradition, which is used to create cohesive military forces. Still, another may be to learn to prevent wars more effectively. Human knowledge about the military is largely based on both recorded and oral history of military conflicts (war), their participating armies and navies and, more recently, air forces.
International protocols restrict the use, or have even created international bans on weapons, notably weapons of mass destruction (WMD). International conventions define what constitutes a war crime, and provides for war crimes prosecution. Individual countries also have elaborate codes of military justice, an example being the United States' Uniform Code of Military Justice that can lead to court martial for military personnel found guilty of war crimes.
The next requirement comes as a fairly basic need for the military to identify possible threats it may be called upon to face. For this purpose, some of the commanding forces and other military, as well as often civilian personnel participate in identification of these threats. This is at once an organisation, a system and a process collectively called military intelligence (MI).
Prospective service members are often recruited from high school or college, the target age ranges being 18–35 in the Army, 18–28 in the Marine Corps, 18–34 in the Navy, 18–39 in the Air Force and 18–27 (up to age 32 if qualified for attending guaranteed "A" school) in the Coast Guard. With the permission of a parent or guardian, applicants can enlist at age 17 and participate in the Delayed Entry Program (DEP), in which the applicant is given the opportunity to participate in locally sponsored military activities, which can range from sports to competitions led by recruiters or other military liaisons (each recruiting station's DEP varies).
Varsity Tutors’ Learning Tools free ASVAB study material is a great opportunity for you to tune up your skills before you take the test. You might discover that you simply have to brush up on some science, math, or definitions to get ready to take the test. The simple ASVAB review tests enable you become more confident as well. There’s no better way to succeed in reaching your goals than by being prepared ahead of time.
The first step that one will take after deciding to pursue a career in the military is taking the Armed Service Vocational Aptitude Battery test. This is more commonly referred to as the ASVAB. The ASVAB not only determines whether or not a candidate is qualified to serve in the armed forces but also shows which specific job they have the most aptitude for.
The projected active duty end strength in the armed forces for fiscal year 2017 was 1,281,900 servicemembers, with an additional 801,200 people in the seven reserve components. It is an all-volunteer military, but conscription through the Selective Service System can be enacted at the President's request and Congress' approval. All males ages 18 through 25 who are living in the United States are required to register with the Selective Service for a potential future draft.
Battlefield commission: under certain conditions, enlisted personnel who have skills that separate them from their peers can become officers by direct commissioning of a commander so authorized to grant them. This type of commission is rarely granted and is reserved only for the most exceptional enlisted personnel; it is done on an ad hoc basis, typically only in wartime. No direct battlefield commissions have been awarded since the Vietnam War. The Navy and Air Force do not employ this commissioning path.
Direct commission: civilians who have special skills that are critical to sustaining military operations and supporting troops may receive direct commissions. These officers occupy leadership positions in law, medicine, dentistry, pharmacy, intelligence, supply-logistics-transportation, engineering, public affairs, chaplain, oceanography and others.
Just as the President, the Secretary of Defense, and the Secretary of Homeland Security, are in charge of the entire military establishment, maintaining civilian control of the military, so too are each of the Defense Department's constitutive military departments headed by civilians. The four DoD branches are organized into three departments, each with civilian heads. The Department of the Army is headed by the Secretary of the Army, the Department of the Navy is headed by the Secretary of the Navy and the Department of the Air Force is headed by the Secretary of the Air Force. The Marine Corps is organized under the Department of the Navy, however it is still considered a separate and equal service. The Coast Guard is under the Department of Homeland Security and receives its operational orders from the Secretary of Homeland Security. However, the Coast Guard may be transferred to the Department of the Navy by the President or Congress during a time of war, thereby placing it within the DoD.
Each branch of the service operates its own Service Academy as a four-year institution of higher education. All students receive a full scholarship with a small monthly stipend. Upon graduation, you're commissioned as a second lieutenant in the Army, Air Force, or Marine Corps or as an ensign in the Navy or Coast Guard. Appointment to a service academy is extremely competitive. For more information, call 1-800-822-8762 (US Military Academy in West Point, New York), 1-800-638-9156 (US Naval Academy in Annapolis, Maryland), 1-800-443-9266 (US Air Force Academy in Colorado Springs, Colorado), 1-800-883-8724 (US Coast Guard Academy in New London, Connecticut), and 1-866-546-4778 (United States Merchant Marine Academy, Kings Point, New York).
Military law introduces offences not recognised by civilian courts, such as absence without leave (AWOL), desertion, political acts, malingering, behaving disrespectfully, and disobedience (see, for example, Offences against military law in the United Kingdom). Penalties range from a summary reprimand to imprisonment for several years following a court martial. Certain fundamental rights are also restricted or suspended, including the freedom of association (e.g. union organizing) and freedom of speech (speaking to the media). Military personnel in some countries have a right of conscientious objection if they believe an order is immoral or unlawful, or cannot in good conscience carry it out.
The rank of General of the Armies is considered senior to General of the Army, but was never held by active duty officers at the same time as persons who held the rank of General of the Army. It has been held by two people: John J. Pershing who received the rank in 1919 after World War I and George Washington who received it posthumously in 1976 as part of the American Bicentennial celebrations. Pershing, appointed to General of the Armies in active duty status for life, was still alive at the time of the first five-star appointments during World War II and was thereby acknowledged as superior in grade by seniority to any World War II–era Generals of the Army. George Washington's appointment by Public Law 94-479 to General of the Armies of the United States was established by law as having "rank and precedence over all other grades of the Army, past or present", making him not only superior to Pershing, but superior to any grade in the Army in perpetuity.
The human capital shortage may be worse than the shortage in ships. A report by the Maritime Administration to Congress highlighted the problem. The report “estimates that 11,768 qualified mariners ... are available to crew the Ready Reserve Force ... the estimated demand for mariners [in an emergency] is 13,607.” Given the shortage, those mariners who are available “may have to endure prolonged assignments or tours of duty until the emergency is over,” which will decrease effectiveness, increase errors and — of greatest concern — delay deploying the forces necessary to win a large-scale conflict.
Although some groups engaged in combat, such as militants or resistance movements, refer to themselves using military terminology, notably 'Army' or 'Front', none have had the structure of a national military to justify the reference, and usually have had to rely on support of outside national militaries. They also use these terms to conceal from the MI their true capabilities, and to impress potential ideological recruits.
The ASVAB also known as the Armed Services Vocational Aptitude Battery is a test that measures your aptitude which is how well you do something. A common mistake by most people is thinking that it is a measure of you IQ. Many people either forget this or don’t know this and they get worked up about the exam. Saying that, it is also important to take a ASVAB sample test to insure you know what type of questions will be asked. Another thing to keep in mind is every person in the armed forces has to take the exam and you are not being called out to take it.