Sodium hydroxide or potassium hydroxide is found in soap. Sodium hydroxide, also called caustic soda or lye, is a traditional ingredient for soap-making. While potassium hydroxide is more common in liquid soap-making, it is possible to produce liquid soaps using caustic soda.