When a piece of magnesium ribbon is ignited, light and heat are produced.The reaction is an exothermic reaction, as well as one that produces light energy.