The fermentation also helps to preserve the plant matter through the production of acids such as lactic acid and acetic acid. These acids kill pathogens that flourish in an alkaline environment.
These acids are generated by the good bacteria in the fermented foods. The reason these bacteria are considered good is the various acids they produce that benefit our bodies as well. These acids kill bacteria, and help kill or control yeast and fungi. The acids also aid in nutrient absorption, especially free minerals that need to be acidified for proper absorption.