Xanthan gum is a polysaccharide used as a thickening agent and stabilizer in food, cosmetics, pharmaceuticals, and other industries. It is produced by fermentation of glucose or sucrose with Xanthomonas campestris bacteria.