Dilute nitric acid behaves as a typical acid in its reaction with most metals. Magnesium, manganese, and zinc liberate:
Mg + 2 HNO3→ Mg(NH3)2+ H2
(Magnesium nitrate) ... The nitric oxide produced may react with atmospheric oxygen to give nitrogen dioxide.