magnesium can react with any other compound or element so long as it is in a proportion or state for the reaction to occur.
When magnesium reacts with oxygen, it forms magnesium oxide (MgO).
Magnesium reacts with oxygen to create magnesium oxide. Magnesium(Mg)+Oxygen(O2)--------> magnesium oxide(MgO) 2Mg+O2 ------>2 MgO
When magnesium reacts with nitrogen, it forms magnesium nitride (Mg3N2).
The white powder formed when magnesium reacts with steam is magnesium oxide.
The compound that forms when magnesium reacts with sulfur is magnesium sulfide (MgS).
When magnesium reacts with phosphorus, they form magnesium phosphide. This compound is typically a gray solid and can release highly toxic phosphine gas when it reacts with water. The reaction is exothermic and can occur at high temperatures.
it is magnesium sulphate that should answer your question.
Magnesium is the metal which reacts with oxygen to form magnesium oxide.
The compound formed when magnesium reacts with sulfur is magnesium sulfide (MgS).
The symbol for the magnesium ion formed when magnesium metal reacts with sulfur is Mg^2+.
The salt formed when magnesium reacts with nitric acid is magnesium nitrate.
I think that it is probably magnesium sulphate.