Anhydroxylitol is used in cosmetic formulations as a humectant to provide hydration to the skin. It helps to increase the moisture content of the skin, leaving it feeling soft and smooth.