Sodium palmate is synthesized by reacting palm oil with sodium hydroxide. This process is called saponification. Saponification occurs when a fatty acid reacts with an alkali. Palm oil is the fatty acid and sodium hydroxide is the alkali. Glycerol and sodium palmate are the end products of this reaction.
This chemical acts as a surfactant and emulsifying agent and is a key ingredient in soap.