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 soluble in water, ethanol an methanol. This alkali is deliquescent an readily absorbs moistur an carbon dioxide in air.