Xanthan gum has a number of uses in food, including stabilization, thickening and improving the texture of many foods, such as sauces, condiments and pastries. It is also used as a substitute for gelatin in vegetarian and vegan foods.