let's apply this same principle to ice cream making. when the ice cream base is still a liquid, the xanthan gum works as a thickening agent and helps stabilize the emulsion of fat particles in water (cream (mostly fat) in milk (mostly water)).