Answer is: soap.
Soap is a salt of a fatty acid and alkaline (basic) solution. An alkaline solution induces saponification of triglyceride fats into salts of fatty acids.
Toilet soap has sodium and potassim cations. Metallic soap have magnesium and calcium cations.
Sodium soaps, made from sodium hydroxide are firm and potassium soaps, made from potassium hydroxide, are softer or often liquid.