Common salt has many useful properties. In food preservation it acts as an antiseptic, killing germs. It absorbs water thus deydrating food and depriving parasites and germs of the mosture they need.
It’s also the first step in many common meat-preservation techniques. For a basic dry-salt cure, put a layer of salt in a container, followed by a layer of the food you want to preserve.