text: Detergents are a group of compounds with an amphiphilic structure, where each molecule has a hydrophilic (polar) head and a long hydrophobic (non-polar) tail. The hydrophobic portion of these molecules may be straight- or branched-chain hydrocarbons, or it may have a steroid structure. The hydrophilic portion is more varied, they may be ionic or non-ionic, and can range from a simple or a relatively elaborate structure. Detergents are surfactants since they can decrease the surface tension of water. Their dual nature facilitates the mixture of hydrophobic compounds (like oil and grease) with water. Because air is not hydrophilic, detergents are also foaming agents to varying degrees.
  Detergent molecules aggregate to form micelles, which makes them soluble in water. The hydrophobic group of the detergent is the main driving force of micelle formation, its aggregation forms the hydrophobic core of the micelles. The micelle can remove grease, protein or soiling particles. The concentration at which micelles start to form is the critical micelle concentration (CMC), and the temperature at which the micelles further aggregate to separate the solution into two phases is the cloud point when the solution becomes cloudy and detergency is optimal.
  Detergents work better in an alkaline pH. The properties of detergents are dependent on the molecular structure of the monomer. The ability to foam may be determined by the head group, for example anionic surfactants are high-foaming, while nonionic surfactants may be non-foaming or low-foaming.