Sodium hydroxide (NaOH), also known as lye and caustic soda, is a caustic metallic base used mostly in chemistry as a strong chemical base.