Sauerkraut is made by a process of pickling called lactic acid fermentation that is analogous to how traditional (not heat-treated) pickled cucumbers and kimchi are made.
A 2004 genomic study found an unexpectedly large diversity of lactic acid bacteria in sauerkraut, and that previous studies had oversimplified this diversity.