Here's how you break down the name:
* Mg represents the element Magnesium.
* SO4 represents the Sulfate ion (SO₄²⁻).