Explanation:
In the Figure can be seen the structure of a soap surfactant. It has two key parts: the hydrophobic tail and the hydrophilic head.
Surfactant molecules bond with each other forming miscelles, expossing the part that is compatible with the solvent and protecting the other one.
This means thar the polar head enables the surfactant to dissolve in water and the non-polar tail enables it to dissolve in non polar solvents such as oil mixtures.