Hard water contains high levels of minerals such as magnesium and calcium and can be a real pain to remove if left untreated. When hard water is boiled in an electric kettle, these minerals do not evaporate like the water does but instead remains in the kettle.