A military aircraft is any fixed-wing or rotary-wing aircraft that is operated by a legal or insurrectionary armed service of any type. Military aircraft can be either combat or non-combat:
In 1783, when the first practical aircraft (hot-air and hydrogen balloons) were established, they were quickly adopted for military duties.
Combat aircraft, or "Warplanes", are divided broadly into multi-role, fighters, bombers, and attackers, with several variations between them, including fighter-bombers, such as the MiG-23 ground-attack aircraft and the Soviet Ilyushin Il-2 Sturmovik. Also included among combat aircraft are long-range maritime patrol aircraft, such as the Hawker Siddeley Nimrod and the S-3 Viking that are often equipped to attack with anti-ship missiles and anti-submarine weapons.
The primary role of fighters is destroying enemy aircraft in air-to-air combat, as part of both offensive and defensive counter air operations. Many fighters also possess a degree of ground attack capability, allowing them to perform surface attack and close air support missions. In addition to their counter air duties they are tasked to perform escort mission for bombers or other aircraft. Fighters are capable of carrying a variety of weapons, including machine guns, cannons, rockets, guided missiles, and bombs. Many modern fighters can attack enemy fighters from a great distance, before the enemy even sees or detects them. Examples of fighters include the F-22 Raptor, F-15 Eagle, and Su-27.
Bombers are normally larger, heavier, and less maneuverable than fighter aircraft. They are capable of carrying large payloads of bombs, torpedoes or cruise missiles. Bombers are used almost exclusively for ground attacks and not fast or agile enough to take on enemy fighters head-to-head. A few have a single engine and require one pilot to operate and others have two or more engines and require crews of two or more. A limited number of bombers, such as the B-2 Spirit, have stealth capabilities that keep them from being detected by enemy radar. An example of a conventional modern bomber would be the B-52 Stratofortress. An example of a World War II bomber would be a B-17 Flying Fortress. Bombers include light bombers, medium bombers, heavy bombers, dive bombers, and torpedo bombers.