Black salt is obtained from the rock ores, and rock salt is a mineral of sodium chloride found in rock sediments.