How Does Magnesium Sulfide React With Water And Acids?

Magnesium sulfide reacts with water to produce magnesium hydroxide and hydrogen sulfide gas, according to the following chemical equation:

MgS + 2H2O → Mg(OH)2 + H2S

When reacted with acids, magnesium sulfide will undergo acid-base reactions to produce the corresponding salt and hydrogen sulfide gas. For example, reacting magnesium sulfide with hydrochloric acid will produce magnesium chloride and hydrogen sulfide gas:

MgS + 2HCl → MgCl2 + H2S

It is important to note that hydrogen sulfide gas produced in these reactions is toxic and can cause harm if inhaled. Proper safety precautions should be taken when handling these compounds.