<span>N2 - Element; Pure substance O2 - Element; Pure substance N2O - Compound; Pure Substance Air - Homogeneous; Solution</span>
        
                    
             
        
        
        
Magnesium in hydrochloric acid forms H2 (hydrogen) gas according to the balanced chemical equation:
Mg + 2HCl→H2 + MgCl2
        
                    
             
        
        
        
The SI unit for mass is Kilogram (kg).