Did you know…
Why do aircraft wings curve upward at the tips?
Short answer
Those bent tips are winglets (or sharklets, depending on the manufacturer), and they reduce the vortex that forms at the wingtip. By slowing the flow that curls around the tip from the lower to the upper surface, they cut induced drag and improve fuel burn, with typical savings of 3% to 5% on long flights.

The problem: wingtip vortices
A wing generates lift because pressure below it is higher than above it. Everywhere along the wing except at the very tip, that difference stays orderly; but at the tip the air finds a shortcut and curls around from the lower surface to the upper surface. The result is a conical vortex that sheds from each tip and trails for miles behind the aircraft. These vortices are what force the mandatory separation between aircraft on approach, and on humid days they're the two white streaks seen trailing from the tips at takeoff.
For the aircraft, that vortex is burned money. By inducing a downward component in the flow reaching the wing, it tilts the lift vector backward and generates induced drag, which at cruise accounts for roughly a third of total drag and grows sharply at low speed and high weight. All the energy feeding those swirls comes out of the fuel.
The solution: vertical surfaces at the tip
A wingtip device acts as an aerodynamic barrier that makes it harder for air to curl around, pushing the vortex core outward and upward and diffusing it. The vertical surface also works in flow that's already turned, generating its own force with a component pointing forward: literally, a small amount of thrust.
The modern idea is credited to Richard Whitcomb at NASA's Langley center, who in the second half of the 1970s published the studies that turned wingtip fins into a technology applicable to transport aircraft. Since then variants have proliferated: the up-and-down split fins of the McDonnell Douglas MD-11, the classic angled winglets of the Boeing 747-400, the continuously curved blended winglets of many Boeing 737s, Airbus's sharklets, the split scimitar double fins, or the folding curved tips of the Boeing 777X, which fold on the ground so the aircraft fits existing gate dimensions.
When they pay off and when they don't
A winglet isn't free: it adds weight, increases wetted area (and with it parasitic drag), and loads the wing structure more, sometimes requiring a reinforced spar. That's why its payoff depends on the mission. On long legs, where induced drag weighs heavily for hours, manufacturers typically claim fuel savings of between 3% and 5%. On very short-leg operations, with more time spent climbing and less in cruise, the balance is tighter.
There's an equally valid alternative: simply lengthen the wing. Aerodynamically it's even more efficient, since the governing parameter is aspect ratio. The problem is practical: wingspan is limited by airport gate and taxiway categories. The winglet is, at bottom, a way to gain effective aspect ratio by growing upward when you can't grow sideways; the 777X's folding wing is the opposite answer to the same problem.
Not every aircraft has them. The Boeing 787 and the Airbus A350 use high-aspect-ratio wings with sharp tips continuously curved upward, integrated into the design from the start, which makes an added fin unnecessary.
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…