Xylitol is commonly used in cosmetics as a natural sweetener and humectant that helps to retain moisture and prevent dryness in skincare products. It also has antimicrobial properties, making it suitable for use in oral care products as well.