Magnesium is an alkaline earth metal. This reactive metal is used in fireworks. It burns hot enough it can be used to ignite other metals, as in the thermite reaction.