Which is a better emulsifying agent (which is better at helping water and oil mix), the soap or the detergent?explain

Which is a better emulsifying agent (which is better at helping water and oil mix), the soap or the detergent?explain