Sodium hydroxide is an alkali (base) and the acids are the fatty acids present in oils and butters. Once we select the oils and mix them with sodium hydroxide and a liquid (lye), the molecules combine, a chemical reaction occurs, called saponification (pictured below), and a totally different substance is created -- SOAP!