Did you know…
Why can an aircraft overcome the force of gravity?
Short answer
An aircraft doesn't overcome gravity: it balances it. Gravity still acts on it in full, but the wing generates an upward aerodynamic force of equal magnitude, so the net force is zero and the flight path holds steady. That force comes from the deflected air, and engine thrust only serves to maintain the necessary speed.

Balancing is not beating
The popular phrasing suggests a battle between two forces, and it's worth correcting. Gravity acts on a cruising Boeing 787 exactly as it does on the same aircraft parked on the ground: its weight does not drop by a single gram at 11,000 metres. What happens is that another force, of a completely different origin, appears and balances it out. When two opposing forces are equal, the net force is zero and the body keeps its state of motion: that is Newton's first law, and it's all there is behind level flight.
The same principle explains why a table "beats" gravity by holding up a glass, or why a ship doesn't sink. What's peculiar about the aircraft is the source of the balancing force: not a solid support or hydrostatic thrust, but the dynamic interaction between a surface and a fluid in relative motion.
Where the force comes from
The wing, as it moves forward, deflects a considerable mass of air downward. By Newton's third law, the air reacts by pushing the wing upward with equal intensity. Seen in terms of pressure, the curved flow over the upper surface accelerates and its pressure drops, while under the lower surface the pressure is somewhat higher; the integral of that difference over the whole wing surface is lift. These are two descriptions of the same phenomenon, not two different causes.
The magnitude grows with the square of the speed, with wing area, with air density and with angle of attack. Hence the only real condition for staying aloft is maintaining sufficient airflow over the wing. Engines do not lift the aircraft — on an airliner their thrust is on the order of 25 to 30% of weight, far below what would be needed to hold it up vertically — they only compensate aerodynamic drag to keep up the required speed.
The energy cost and its consequences
Staying aloft has a price. Generating lift creates induced drag, the energy lost in wingtip vortices, and moving forward creates parasitic drag. Fuel is burned entirely to overcome that drag, not gravity. A design's efficiency is measured by its lift-to-drag ratio: around 17 for a modern commercial jet, over 50 for a competition glider and around 4 for a supersonic fighter.
That's where the difference between balancing and beating becomes clear. A glider carries no engine and stays airborne for hours; what it does is descend very slowly relative to the surrounding air while seeking rising air masses that climb faster than it sinks. A helicopter achieves the same thing with a wing that rotates instead of moving forward. And a rocket does face gravity head-on, because outside the atmosphere there is no air to deflect: it must generate thrust greater than its weight, paid for with an incomparably higher propellant consumption. That comparison sums up the aircraft's advantage: using an external fluid lets it hold up tonnes with a fraction of the energy that purely vertical thrust would require.
More questions

Physics of flight
Why can't a Corsair pilot apply full power when going around after a failed carrier landing?
Because at low speed and high power the Corsair would drop its left wing suddenly and with almost no warning, due to propeller torque. If the throttle was… more…

Physics of flight
What did the phrase "banking with intent to turn" mean among F-104 pilots?
It was a joke among Canadian F-104 pilots: banking the aircraft "with intent to turn" referred to its poor low-speed turning. Its sustained turn capability… more…

Julian Herzog (Website) (CC BY), vía commons Physics of flight
What is "flight envelope protection," which the A320 pioneered?
A set of limits embedded in the flight control software: it calculates the flight envelope, adds a safety margin, and blocks pilot inputs that would take the… more…

Julian Herzog (Website) (CC BY), vía commons Physics of flight
What is the A320's SHARP package for?
SHARP (SHort AiRfield Package) improves takeoff and landing performance on short runways and is designed to increase low-speed lift. It combines aerodynamic… more…

Physics of flight
What flaw sank Vought's all-metal V-141 fighter?
It wasn't a single flaw: tests showed the V-141 still flew poorly, was prone to spinning, and also suffered tail flutter, which is why it was rejected. It… more…

Physics of flight
What wind tunnel did NACA use to study the Corsair, and how big was it?
The full-scale 30- by 60-Foot Tunnel at the Langley Research Center, in Hampton, Virginia. NACA dedicated the facility on 27 May 1931 and used it to test the… more…