A high level of dissolved minerals, such as calcium and magnesium, in the water, causes hard water.