Gasoline and detergent can remove oil from clothes. What's the principle

Gasoline and detergent can remove oil from clothes. What's the principle


Gasoline dissolves oil,
Detergent can emulsify oil,
The former forms a solution and the latter an emulsion



Oil stains on clothes can be removed with gasoline or detergent


Both gasoline and detergent can remove oil stains from clothes. Their principles are different. ① gasoline dissolves the oil stains and forms a solution. ② detergent can't completely dissolve the oil stains, but it can emulsify the original vegetable oil. It disperses the original vegetable oil into innumerable small droplets instead of large oil droplets. These small droplets can go with the water



What's the difference between using gasoline to remove oil stains and using water with detergent to remove oil stains on clothes?
I want a detailed answer and analysis


Gasoline degreasing is based on the similar dissolving principle of organic matter. Gasoline has no chemical reaction with oil stain, but oil stain dissolves in gasoline. Detergent mostly contains strong base weak acid salt (such as sodium carbonate, sodium bicarbonate, etc.), and weak acid produced by hydrolysis of strong base weak acid salt reacts with oil stain to form organic salt, which is soluble in water, In this way, you can get rid of oil stains. I used to take exams in senior three chemistry. I hope I can help you