Xanthan gum is a flavorless thickener used in many foods and other commercial products. It is produced by natural fermentation by the bacterium Xanthomonas campestris. Xanthan gum is used as a thickening and stabilizing agent in foods, toothpastes, and medicines. It can add thickness, keep textures from changing, and hold ingredients in place.