Glyceryl stearate is commonly used in cosmetics as an emulsifier and stabilizer, helping to blend oil and water-based ingredients together and maintain the texture and consistency of the product. It also acts as a conditioning agent, making skin and hair feel softer and smoother.