Fat molecules contain three ester links. These can be hydrolysed when they are heated with sodium hydroxide or potassium hydroxide. This results in the formation of glycerol and a salt - soap.
They are made by reacting edible oils with glycerol. While they form ester links with the glycerol backbone, there are still unused hydroxyl group(s) on the molecule. One emulsifier that is ...