Surfactant

A surfactant has one end that attracts water and another that attracts oil — letting both mix so that dirt, sebum, and product residue can be rinsed away.