Chemically Epsom salts are MgSO4. The Mg is magnesium, a neccessary, and major, plant nutrient, being a constituent of cholorophyll. Use warily (i.e. only whem a deficency is apparent) as it can cause precipitation problems with other nutrients, especially calcium.