Question: why are calcium and magnesium ions bad for soaps?
Answer: 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 to form an insoluble substance. Scum builds up on clothes, baths and sinks.