Here are the elements present:
* Magnesium (Mg)
* Sulfur (S)
* Oxygen (O)
* Hydrogen (H)
The "·7H₂O" part indicates that there are seven water molecules (H₂O) associated with each magnesium sulfate (MgSO₄) molecule.