in which the medium condenses and evaporates