What is water softener?

What is water softener?