Regular all purpose flour contains gluten which provides structure, elasticity and acts as a binding agent in the baked good. In gluten free flours, gluten is missing. Xanthan gum (or cornstarch) acts as a replacement for the role glutens play in baking.