Where do plants get their minerals salt from?

Plants extract sodium chloride from soils and waters.