Squalane is used in cosmetic formulations as a moisturizing agent due to its ability to mimic the skin's natural oils. It helps to hydrate and soften the skin without a greasy residue, making it a popular ingredient in skincare products.