Tablet salt is used in water refining and is of great importance in this process. It is also used in some countries as a primary source of industrial detergent .