Soaps and detergents are used as cleansing agents. Chemically soap is the sodium or potassium salt of higher fatty acids. Detergent is sodium salt of alkyl hydrogen sulphates or alkyl benzene sulphonic acids. They improve the purification properties of water. They aid in the removal of fat, which clings to clothing and skin along with other substances.