both soap and detergent are same type of salts?
Soap molecules are sodium or potassium salts of long-chain carboxylic acids whereas detergent molecules are ammonium or sulphonate salts of long-chain carboxylic acids. Cleansing action of soaps: The dirt present on clothes is organic in nature and is insoluble in water.