Enormous underground beds of sodium and potassium compounds formed ---- lakes and seas became isolated by geological events.