CHEMICAL - these rocks are also called evaporites or inorganic precipitates. They result when ions precipitate from solution.
the rock is composed of NaCl(sodium chloride, halite) -
rock salt 
The rock is composed of calcium sulfate - the rock gypsum

The rock is composed of calcite - limestone
