The story
You rinse greasy fingers under a faucet. Water runs over them, but a slippery film remains. Add soap, rub your hands, and rinse again. Much more grease leaves with the water. The change is not caused by foam acting like tiny scrubbing brushes. Soap contains molecules, tiny groups of connected atoms, whose different parts interact well with different materials. Their structure helps water do a better cleaning job.
A soap molecule has a water-friendly head and a tail that interacts well with oil. The tail can enter greasy material while the head stays in contact with water. Rubbing helps break the grease into smaller droplets. Soap gathers at the boundary, keeping droplets dispersed long enough to rinse away. The grease does not need to disappear chemically. It needs a way to travel with water.
Soap can also form tiny groups called micelles, with water-friendly heads facing outward and oily tails tucked inward. These groups help carry oily material. Cleaning depends on contact, rubbing, and rinsing, not just making a mountain of bubbles. The CDC recommends scrubbing hands for at least twenty seconds. Familiar handwashing works because molecular structure changes how two reluctant partners, water and grease, can meet and move together.