Wings come from Souls of Flight in Hardmode, or as rare Fledgling Wings before it. Here is how to get your first pair and the best wings for every stage.
You get your first real wings in Terraria in Hardmode by crafting them from 20 Souls of Flight, which Wyverns drop in Space, plus a material like Feathers or Pixie Dust at a Mythril or Orichalcum Anvil. Before Hardmode, the only wings are the rare Fledgling Wings from Skyware Chests.
Wings let you fly for a few seconds, glide when the flight time runs out and never take fall damage again. Better wings fly longer and faster, and the best ones come from late bosses and the Lunar Events.

The Fledgling Wings are the only wings you can have before the Wall of Flesh. They are rare: each Skyware Chest on a Floating Island has a 1 in 40 (2.5%) chance to hold them, and so do Sky Crates and Azure Crates from fishing in the sky.

Note: A Journey Mode character starts with Fledgling Wings. In Classic, opening every Skyware Chest you find and fishing up Sky Crates is the only way.
Every crafted wing needs 20 Souls of Flight. Wyverns, the long white dragons that appear in Space in Hardmode, drop 5 to 10 of them per kill (10 to 20 in Expert).

Wyverns are tough early in Hardmode, so kill one mechanical boss first for better gear.
All the first crafted wings use 20 Souls of Flight at a Mythril or Orichalcum Anvil, plus one more material:

The Fairy Wings are the easiest good pick, since Pixies are common in the Hallow. Angel and Demon Wings fly a little shorter but use materials you already have.
Later in Hardmode you can step up to wings with 2.67 to 3 seconds of flight:
The Hoverboard is a special case. It is made from 20 Souls of Flight and 18 Shroomite Bars, can hover in place and reaches 51 mph sideways, which makes it great for boss fights.

The top wings are faster as well as longer lasting:

For most players the Solar or Stardust Wings are the final pick, since they are crafted and don't depend on luck. For the bosses that drop the others, see How To Summon Duke Fishron and How To Summon The Empress Of Light.
You can only wear one pair of wings at a time, but they combine well with other movement gear. A Cloud in a Bottle or its upgrades give an extra jump in the air, and Hermes Boots or their upgrades add running speed on the ground.
Note: Holding Jump after your flight time runs out lets you glide down slowly, so you never take fall damage with wings equipped.