When magnesium ribbon (Mg) is burnt in air, it reacts with oxygen (O2) to form magnesium oxide (MgO). The chemical equation for this reaction is:
2 Mg(s) + O2(g) → 2 MgO(s)
The ash produced in this reaction is magnesium oxide (MgO), which is a white solid.
This reaction is an example of a synthesis or combination reaction. In a synthesis reaction, two or more substances combine to form a single product. In this case, magnesium (Mg) and oxygen (O2) combine to form magnesium oxide (MgO).