In a candle, the wick when burnt produces heat energy as well as light energy. In this process, chemical energy transforms into heat energy and light energy. During the burning of a candle, a chemical reaction occurs. Light is produced as a side product of generated heat in the process.