When a candle burns, the form energy that is being transformed from chemical energy would be heat energy and light energy. The flame is in the form of light energy. Also, the wax melts and then volatilizes, so some energy is going into the material to do that, called latent heat.