Soap in the form of micelles is used for cleaning. The micelles stay in the solution as a colloid and do not come together to precipitate because of:
ion-ion repulsion
The micelles stay in the solution as a colloid and does not come together to precipitate because of ion-ion repulsion.