Halite occurs in vast beds of sedimentary evaporite minerals that result from the drying up of enclosed lakes, playas, and seas.