Aerobatics is the practice of flying maneuvers involving aircraft attitudes that are not used in normal flight. The term is a blend of "aerial" and "acrobatics".  Aerobatics are performed in airplanes and gliders for training, recreation, entertainment, and sport. Additionally, some helicopters, such as the MBB Bo 105, are capable of limited aerobatic maneuvers. An example of a fully aerobatic helicopter, capable of performing loops and rolls, is the Westland Lynx.
Most aerobatic maneuvers involve rotation of the aircraft about its longitudinal (roll) axis or lateral (pitch) axis. Other maneuvers, such as a spin, displace the aircraft about its vertical (yaw) axis. Maneuvers are often combined to form a complete aerobatic sequence for entertainment or competition. Aerobatic flying requires a broader set of piloting skills and exposes the aircraft to greater structural stress than for normal flight. In some countries, the pilot must wear a parachute when performing aerobatics.
Aerobatic training enhances a pilot's ability to recover from unusual flight conditions, and thus is an element of many flight safety training programs for pilots. While many pilots fly aerobatics for recreation, some choose to fly in aerobatic competitions, a refereed sport.
In the early days of flying, some pilots used their aircraft as part of a flying circus to entertain. Maneuvers were flown for artistic reasons or to draw gasps from onlookers. In due course some of these maneuvers were found to allow aircraft to gain tactical advantage during aerial combat or dogfights between fighter aircraft.
Aerobatic aircraft fall into two categories—specialist aerobatic, and aerobatic capable. Specialist designs such as the Pitts Special, the Extra 200 and 300, and the Sukhoi Su-26M and Sukhoi Su-29 aim for ultimate aerobatic performance. This comes at the expense of general purpose use such as touring, or ease of non aerobatic handling such as landing. At a more basic level, aerobatic capable aircraft, such as the Cessna 152 Aerobat or the R2160 Acrobin, can be dual purpose—equipped to carrying passengers and luggage, as well as being capable of basic aerobatic figures.
Flight formation aerobatics are flown by teams of up to sixteen aircraft, although most teams fly between four and ten aircraft. Some are state funded to reflect pride in the armed forces while others are commercially sponsored. Coloured smoke trails may be emitted to emphasise the patterns flown and/or the colours of a national flag. Usually each team will use aircraft similar to one another finished in a special and dramatic colour scheme, thus emphasising their entertainment function. Teams often fly V-formations (otherwise known as echelon formation)—they will not fly directly behind another aircraft because of danger from wake vortices or engine exhaust. Aircraft will always fly slightly below the aircraft in front, if they have to follow in line (the "trail formation").
Aerobatic maneuvers flown in a jet-powered aircraft are limited in scope as they cannot take advantage of the gyroscopic forces that a propeller driven aircraft can exploit. Jet-powered aircraft also tend to fly much faster, which increases the size of the figures and the length of time the pilot has to withstand increased g-forces. Jet aerobatic teams often fly in formations, which further restricts the maneuvers that can be safely flown.
Aerobatics done at low levels and for an audience is called "stunt flying". To enhance the show effect of aerobatic maneuvers, smoke is sometimes generated; the smoke allows viewers to see the path travelled by the aircraft. Due to safety concerns, the smoke is not a result of combustion but is produced by the vaporization of fog oil into a fine aerosol, achieved either by injecting the oil into the hot engine exhaust or by the use of a dedicated device that can be fitted in any position on the aircraft. The first military aerobatic team to use smoke at will during displays was Fleet Air Arm 702 Squadron "The Black Cats" at the Farnborough Airshow in September 1957.
Aerobatics are taught to military fighter pilots as a means of developing flying skills and for tactical use in combat. Many aerobatic manoeuvers were indeed developed in military conflicts, e.g. the Immelmann turn or Split S.
Aerobatics and formation flying is not limited solely to fixed-wing aircraft; the British Army, Royal Navy, Spanish Air Force and the Indian Air Force, among others, have helicopter display teams.
All aerobatic maneuvers demand training and practice to avoid accidents. Accidents due to aerobatic manoeuvers are very rare in competition aerobatics, most of them happen when performing formation flying or stunt flying at very low levels at airshows or air racing. Low-level aerobatics are extremely demanding and airshow pilots must demonstrate their ability before being allowed to gradually reduce the height at which they may fly their show.
In the EU, flying aerobatics requires a special training and license. In Canada, no licence is required to perform aerobatics, but to carry passengers during aerobatics a pilot must have at least 10 hours dual flight instruction of aerobatic manoeuvres, or 20 hours of total aerobatic experience.
Main article: Competition aerobatics
Competitions start at Primary, or Graduate level (in UK "Beginners") and proceed in complexity through Sportsman (in UK "Standard"), Intermediate and Advanced, with Unlimited being the top competition level. Experienced aerobatic pilots have been measured to pull ±5 g for short periods while unlimited pilots can perform more extreme maneuvers and experience higher g levels -possibly up to +8/−6 g. The limits for positive g are higher than for negative g and this is due to the ability to limit blood pooling for positive g maneuvers, but it is generally accepted that +9 g for more than a few seconds will lead to loss of consciousness (also known as GLOC).
Aerobatics are most likely to be seen at public airshows in the form of stunt flying. Aerobatic competitions usually do not attract large crowds of spectators since the manoeuvers are flown at safe altitudes to avoid accidents.