Magnesium metal reacts with air oxygen to generate magnesium oxide (MgO), a very stable chemical, hence magnesium ribbon needs to be cleaned before burning in the air. Therefore, it is necessary to clean the ribbon by removing the layer of MgO in order to prevent further reactions with oxygen.