Hint: Magnesium is an extremely reactive metal. When exposed to open air, it can react with the gases in the atmosphere. Cleaning will eliminate the impurities created from this reaction…