Salt is used in earthing because it is an excellent conductor of electricity. It is also a very cheap and readily available material, making it an ideal choice for use in earthing systems.