<s>[INST] In a vast majority of conventional soaps – solid, liquid, and foaming –  the purpose of the surfactant and its physical properties needs to be fully considered before cleansing and hygiene are realized. Surfactants are defined as surface active agents because acting between water and substances, thereby reducing surface tension; promoting “mixing” of water and typically non-polar substances like dirt, oils, and wax through adsorption to the surface of the non-polar substance. Surfactant physical properties — such as hydrophile-lipophile balance — influence its lateral spreading on the surface in regard to living tissues and help extend ridding of solids at its surface.
 
   The HLB can be further explained by:
 
* Surfactant molecule heads –anionic, cationic, zwitterionic  – Super polar that attach to water molecules in a myriad of ways as well as hydrophilic (non repulsive or lipophobic) ethoxy groups (usually abbreviated as HLB Value).
* Surfactant molecule tails – lipophilic (nonpolar or oleophilic), that has strong affinity for grease, oil, etc,, to include apolEthoxy groups oligomers as their abbreviation for lipophilic part.

Thus — dirt —is wetted with a whole lot of  the water-loving ends of the surfactant molecule. The lipophilic (solvent-loving) end attracts as well as surrounds the unwanted non-polar material, capturing each of them dirt, grease, oil –even and allowing it to be rid of being completely rubbed off or being washed off by water.

there are different types of surfactants classifications (Classification by the nature of the head group,) have you tried to understand the classification of surfactants based on molecular structure/shape, polarity(discrete molecule structure structures)?[/INST]