Why was the clothes dryer invented?

to dry clothes when they are wet