Detergents are made usually from products obtained by cracking of petroleum, like:
It is obtained from sulphur compounds of benzene.
Benzene is a raw material for dyes and synthetic detergents, and benzene and toluene for isocyanates MDI and TDI used in making polyurethanes. Manufacturers use xylenes to produce plastics and synthetic fibers. Synthesis gas is a mixture of carbon monoxide and hydrogen used to make ammonia and methanol.