The fragrance of a burning candle is caused by a small percentage of products that do not burn correctly. If a candle is extinguished, the flame goes out quickly, but the wax and wick remain heated; thus, pyrolysis occurs for a few seconds.