Usually, a process by which triglycerides are reacted with sodium or potassium hydroxide to produce glycerol and a fatty acid salt, called 'soap'. When sodium hydroxide is used, a hard soap is produced. Using potassium hydroxide results in a soft soap.