A gift card is a special type of product. Its value can be used as payment toward future orders from your online store.
You can sell a gift card like any other product. You can also give a gift card to a customer for free as an incentive or reward. When you fulfill an order with a gift card, the customer receives an email that contains a unique gift card code that they can use at checkout to redeem its value.