Sodium hydroxide, also known as lye and caustic soda, is an inorganic compound. Sodium hydroxide is used in many industries, mostly as a strong chemical base in the manufacturing of pulp and paper, textiles, drinking water, soaps and detergents and as a drain cleaner.