I have this from Google but I want more detail into how salt removes water from food. The salt is a water absorbent and hence removes water from any food. In absence of water bacteria don’t multiply and hence act as preservative. Basically, salt works by drying food. Salt absorbs water from foods, making the environment too dry to support harmful mold or bacteria.