It is a useful process. One use is in distillation. The gas made from a boiling liquid mix is sent to a condenser, where the different parts condense differently. This can purify a liquid, such as alcohol or water. The condensing liquid makes heat, which must be removed for the condensation to continue.