Diethanolamine is widely used in the preparation of diethanolamides and diethanolamine salts of long-chain fatty acids that are formulated into soaps and surfactants used in liquid laundry and dishwashing detergents, cosmetics, shampoos and hair conditioners.In oil refineries, a DEA in water solution is commonly used to remove hydrogen sulfide from sour gas. It has an advantage over a similar amine, ethanolamine, in that a higher concentration may be used for the same corrosion potential. This allows refiners to scrub hydrogen sulfide at a lower circulating amine rate with less overall energy usage.