In the soap micelles
The ionic soap is on the surface of the cluster while the carbon chains is in the interior of the cluster.
The ionic end of soap is on the surface of the cluster while the carbon chain is in the interior of the cluster. This happens so because the ionic end is hydrophillic, thus, maintains contact with water whereas the carbon end is hydrophobic in nature, thus, maintains a contact with the dirt or oil particles.