Pickling is the process of preserving food by either anaerobic fermentation in brine or immersion in a vinegar-based solution.