Glycerol is a common hydrating agent used in cosmetic formulations to attract and retain moisture in the skin. It helps to hydrate and improve the skin's moisture levels, making it appear smoother and more supple.