Magnesium metal reacts with acids to form magnesium salts and hydrogen gas.
Let's see how the rate of this reactions depends on the nature of the acid.