"It is used as a surfactant which is a foaming agent so like a cleansing agent and so it???s mostly used in soaps, shampoos, bubble baths, and even toothpastes." . . . .