The wash liquid works by breaking the oil into smaller particles, so it can be mixed with water. Detergents and detergents work the same way, and this is their main mechanism, albeit with different formulations, because detergents are made from very different molecules. Detergents use a molecule that partly reacts with fat and partly with water, which causes the detergent to form in the washing liquid or any other detergent.