Do you know how soap works? Its working principle is as follows:
Thanks to some very clever chemistry, soap cleans hands and dishes. Soap molecules have what's called a polar salt on one end, which is hydrophilic, or attracted to water. At the other end of the molecule is a nonpolar chain of fatty acids or hydrocarbons, which is hydrophobic, meaning it repels water but is attracted to grease and other oily substances. When you wash your hands, the soap forms something like a molecular bridge between the water and the dirty, bacteria-laden oils on your hands, attaching to the oil and water and lifting the dirt away. Soap can also connect with the fatty membrane on the outside of bacteria and some viruses, carrying infectious pathogens away or even breaking them down. Once oil and bacteria leave your hands, soap molecules surround them thoroughly and form tiny clusters called micelles, preventing them from clinging to anything else as they flush down the drain.
While it's true that some dirt and bacteria can be removed with water and the friction of your hands, soap does work better.