Xanthan gum is used a lot in pretty much everything you buy at the store that is processed.
It is used a a thickener or for texture and structure.

It is a type of bacteria derived from corn.

It works the same as guar gum.

A lot of cooks use it for home baking when they cook gluten free.
The reason for this is to help with structure.
It will give your breads a more regular bread like texture and rise.

If you don’t want to use xanthan gum or guar gum in your baked goods, you can mix some flax seed or chia seeds with water- 1 tablespoons  seed to 2 tablespoons water.
Make a slurry and add to you ingredients.

There are some people that have questions about the safety of xanthan gum though it has been deemed safe by the FDA.
Because of this guar gum may be used.
But, guar gum will impart a slightly different flavor.
It does come from the guar bean so is is considered more healthy.