While it shares part of its name with table salt, Epsom salt is a completely different compound than the one used to improve flavor in foods − though both share a similar chemical structure.