Soap: Soaps are the fatty acid of sodium or potassium.
Soaps have a long chain of hydrocarbon which is called the hydrophobic tail and a hydrophilic head. Hydrocarbon chains are water-insoluble and soluble in organic solvents. Hydrophilic heads are water-soluble.
Basically, soaps are a type of salt. It is sodium or potassium salt.