Lye
A lye is an alkali metal hydroxide. Traditionally it was obtained by using rainwater to leach wood ashes, which are strongly alkaline and highly soluble in water, of their potassium hydroxide (KOH), producing lye water, a caustic basic solution. Then the lye water would either be used as such, as for curing olives before brining them, or evaporated of water to leave crystalline lye behind. "Lye" most accurately refers to sodium hydroxide (NaOH), but historically has been conflated to include other alkali materials, most notably potassium hydroxide.
Today, lye is commercially manufactured using a membrane cell chloralkali process. It is supplied in various forms such as flakes, pellets, microbeads, coarse powder or a solution. Lye has traditionally been used as a major ingredient in soapmaking.