Dimethyl cocamine, an amine of dimethylated fatty acids from coconut oil, is an emulsifier (changes the interfacial tension of liquids like water and oil so that they can be mixed together). Furthermore, the substance acts as a surfactant and hair conditioning agent (makes the hair easy to comb, smooth, soft and shiny and gives it volume).