What are soaps ? Why do they form scum with hard water?

Soaps are sodium or potassium salts of higher fatty acids. The soluble Ca and Mg salts present in hard water react with soap to give insoluble salts to produce scum.