I've read somewhere that during certain periods in China, salt was used as a currency. And, of course, there were the Salt Wars in medieval Europe. Warfare over salt production areas was actually a thing because of its necessity in preserving food and general usage.