Water softeners are designed to remove minerals that can cause hardness in water, such as calcium and magnesium. They are effective in reducing the hardness of water and improving its quality for use in your home.