When a soap is used in hard water, a solid substance we call scum forms. This is because charged calcium and magnesium particles (called ions ) present in the water react with soap toform an insoluble substance. Scumbuilds up on clothes, baths and sinks.Detergents do not form scum.