A detergent is a cleaning agent that is soluble in water. It reacts with impurities and makes them soluble and removable too.