Stearic acid is mainly used in the production of detergents, soaps, and cosmetics such as shampoos and shaving cream products. Stearate soap, such as sodium stearate, could be made from stearic acid but instead are usually produced by saponification of stearic acid-containing triglycerides.