Sodium hydroxide, also known as lye and caustic soda, is an inorganic compound with the formula NaOH. It is a white solid ionic compound consisting of sodium cations Na + and hydroxide anions OH −. Sodium hydroxide is used to produce soaps, rayon, paper, dyes, and petroleum products. 1KG