Air conditioning. You have a heat pump that removes heat from the occupied space and that removed heat is taken away by the water. The cooling tower then cool that water.
The alternative is to remove the rejected heat directly using air. That's what "in-window" air conditioners use, as well as many smaller AC units. In large buildings, however, it's often very difficult to cool the machines directly with air.