Red envelopes are mainly presented at social and family gatherings such as Chinese weddings or on holidays such as the Chinese New Year. The red color of the envelope symbolizes good luck and is supposed to ward off evil spirits.
The amount of money contained in the envelope usually ends with an even digit, in accordance with Chinese beliefs; for instance 88 and 168 are both lucky numbers, as odd-numbered money gifts are traditionally associated with funerals. But there is a widespread tradition that money should not be given in fours, or the number four should not appear in the amount, as the number itself has a similar tone to the Chinese character for "death", and it signifies bad luck for many Chinese. At weddings, the amount offered is usually intended to cover the cost of the attendees as well as a goodwill to the newly weds.
During Chinese New Year, mainly in South China, red envelopes (in the North, just money without any cover) are typically given to the unmarried by the married, regardless of age. Traditionally, the red envelope is not supposed to be opened until the Chinese New Year festivities are over; otherwise, bad luck would befall the recipient for the whole year.