What is hard and soft water?

Water that does not form an immediate lather with soap is called hard water. Hardness of water is due to the presence of soluble calcium, magnesium or iron compounds.