How Salt Keeps Food From Spoiling
Long before refrigerators, people kept food from spoiling by burying it in salt. Fish, pork, and even butter were preserved this way, and sailors and explorers depended on salted food for long trips. The method works because of how water moves through the thin walls of living cells.
Bacteria and molds that spoil food are living things, and they need water to grow. Salt is very good at attracting water. When food is packed in salt, or soaked in salty water called brine, a process called osmosis begins. Water moves through cell walls from the area where it is plentiful toward the area where salt is concentrated. The water inside the food is drawn out, and the food becomes drier.
The same thing happens to the microbes. When a bacterium lands on heavily salted food, the salt pulls water out of its cell. Without enough water, it cannot grow or multiply, and many kinds simply stop being a problem.
Salt cannot keep every food safe forever, and some tough microbes can survive it. But combined with drying, smoking, or cool storage, it greatly extends how long food lasts. Today, salt curing is still used for foods such as ham, anchovies, and some cheeses, although it is now often chosen for flavor and tradition rather than necessity, since most kitchens have a refrigerator.