The method of preserving food with vinegar has only been around since industrialisation. It came in as a quick and easy way to keep food shelf stable so it would be saleable for longer. A much healthier way to preserve your food is through the process of lacto-fermentation. This is how people preserved their food long before fridges and canning became popular. Lacto-fermentation is how traditional sauerkraut and kimchi are made.