The element magnesium is often in fireworks because it burns with bright white light. It adds white sparks and hence, improves the overall brilliance of a firework.
The reaction is as follows:
[tex]2Mg (s) + O_2 (g) \rightarrow 2MgO(s) + energy[/tex]
The reaction is exothermic in nature.
[tex]Mg(s)+ 2H_2O \rightarrow Mg(OH)_2(s) + H_2 (g)[/tex]
[tex]Mg(s)+CO_2 \rightarrow 2MgO(s)+ C(s)[/tex]
As magnesium is highly flammable and burns with white bright light, hence it is used in fireworks to improve its overall experience.
Learn more about magnesium metal:
https://brainly.com/question/27631695
#SPJ1