Detergents contain various active ingredients like surfactants, builders, solvents, and enzymes that help remove dirt from surfaces. Surfactants are the primary cleaning agents that use their hydrophilic and hydrophobic properties to break the bond between dirt and surfaces and suspend dirt particles in the cleaning solution. Builders help reduce water hardness by binding with metal ions and protect surfactants' cleaning ability. Solvents aid in dissolving oils and greases that water cannot remove on its own. A variety of ingredients work together synergistically to achieve optimal cleaning.