chemical energy to heat and light energy​