A lye is a metal hydroxide traditionally obtained by leaching wood ashes, or a strong alkali which is highly soluble in water producing caustic basic solutions. "Lye" most commonly refers to sodium hydroxide NaOH, but historically has been used for potassium hydroxide KOH.