Hard water is characterized by its content of dissolved calcium and magnesium salts, which result in difficulty in lathering with soap. There are two types of hardness: temporary, which can be removed by boiling, and permanent, which requires chemical treatments to correct.