Foil cards are premium Magic cards which have a foil or "glossy" finish to them. Urza's Legacy was the first set to feature foil cards in booster packs.   However, Lightning Dragon was the first widely-available foil premium card, as it was the card given away at the Urza's Saga prerelease. 
The process involves a special foil layer on the card that highlights certain parts of the artwork over others (the lighter areas are more reflective). All foil cards are black-bordered, even those from the last white-bordered core sets, except those from Unhinged which are silver-bordered.
Foils are notoriously harder to keep in Near Mint condition than non-foil cards. They tend to collect dirt easier, creating a "cloudy" look on the front of the card, tend to warp a lot easier (especially in warmer climates), and don't shuffle as well. Because foil cards have metal on the front, they crease when bent.
Foil cards are randomly inserted in booster packs. There is approximately one foil in every six packs or six or seven per Booster Pack Box. Mythics, rares and uncommons are harder to locate than commons, just like their unfoiled counterparts. Even common premium cards are rarer than a normal rare, so collectors will find collecting them all to be a challenge. It is very hard to complete a set by purchasing packs, so trading or buying singles is the best way to go.
Not chase cards
Although Wizards of the Coast consistently emphasized trading over collecting (referring to Magic: The Gathering and its successors as TCG's), the company recognized that collecting is an important facet of the game's appeal. However, the ever larger print runs of new sets posed fewer challenges to collectors, since stores rarely ran out of an expansion before someone could buy his way to a complete set.
Some other companies offered collectors ultra-rare "chase cards", but Wizards have promised never to print those for Magic. A chase card is an unique (usually more powerful) card that collectors "chase down" by purchasing lots and lots of cards. For example, in the first edition of the Star Wars CCG, key characters like Luke Skywalker and Darth Vader were ultra-rare cards that both players and collectors were desperate to find.
In contrast, the premium Magic cards don't change the game environment at all, since they are duplicates of cards already in the set.
Prior to Time Spiral, if a booster pack contained a foil card it would replace the card normally found in that rarity. (i.e. the card Shared Triumph is rare, if there was a foil version in a pack it would replace the card found in the rare slot). In every set starting with Time Spiral, a foil card replaces a common card regardless of the rarity of the foil card.  This means there is a chance of getting two rares (or three in the Innistrad or Dark Ascension packs due to the double sided card slot) or even mythic rares in a single booster pack: one foil, and one regular (as well as one double sided in the aforementioned sets).
The foil process has not always been the same. The first foils (which have a shooting star in the lower-left-hand corner of the card) started with Urza's Legacy. The new foiling process (which eliminated print lines) started with 8th Edition. There have been different foiling processes used for release cards, From the Vault: Dragons (double-foiled), etc. 
Producing the premium cards presents unique difficulties. The holographic foil laminate has to be bonded to a regular card back, allowed to "cure" for several weeks, and then overprinted with the matching card art. Foil laminates are tricky on playing cards due to the standards needed for wear resistance and ease of shuffling.
Even trickier are the challenges of printing on the foil background.  Opaque areas require a base of white ink, and black and white inks have to be double-printed for readability. Instead of the normal four- or five-color process, premium cards require eight separate color plates. Film alignment has to be precise - even a slight misregistration ruins an entire sheet.
The Alara Premium Foil Booster pack contained fifteen foil, black-bordered cards from Shards of Alara, Conflux, and Alara Reborn. It was released on January 8th, 2010 (MSRP: $11.99). < ref>Magic Arcana. (January 14, 2010.) "Opening the Foil Booster", Daily MTG, magicthegathering.com, Wizards of the Coast.</ref>
- Mark Rosewater. (February 1999). Foiled Again, Mark my Words, The Duelist # 34
- Mark Rosewater. (August 05, 2013.) "Twenty Things That Were Going To Kill Magic", Daily MTG, magicthegathering.com, Wizards of the Coast.
- Magic Arcana. (July 26, 2004.) "The first foil prerelease card", Daily MTG, magicthegathering.com, Wizards of the Coast.
- Jennifer Clarke Wilkes. (February 1999). The Premium Package, The Duelist # 34
- Mark Rosewater. (September 25, 2006.) "Purple Reign", Daily MTG, magicthegathering.com, Wizards of the Coast.
- Ben Bleiweiss (February 3, 2009) Insider Trading - Fifteen Fun Facts About Foils! Starcitygames.com
- Monty Ashley. (February 26, 2013.) "Where the Foil Goes", Daily MTG, magicthegathering.com, Wizards of the Coast.
- Product info. (January 8, 2010.) "Premium Foil Booster", Daily MTG, magicthegathering.com, Wizards of the Coast.