In any cooling process water takes heat from process and cools the system.
By the way it gets heated up and in turn it need to be cooled to reuse the same.
It gives up the heat through a process called evaporation.There are three types of cooling systems which are in use in industry:
Once through system
Closed recirculating system
Open recirculating system