Stearic acid is used to harden and thicken products like bars of soap and candles. The presence of stearic acid in soap helps to create a lather when mixed with water, providing a velvety feeling; it is this property that also makes it a must-have ingredient in most shaving foams and creams as well