What kind of energy is the source of the light and heat produced by a burning log?

chemical energy

kinetic energy

gravitational energy

electrical energy