Betaine is commonly used in cosmetics as a humectant and conditioning agent. It helps to attract and retain moisture, keeping the skin and hair hydrated and soft.