Which component in a refrigeration or fresh water generation system is responsible for absorbing heat from the surrounding medium, causing the working fluid to turn from a liquid into a gas?

A
Evaporator
B
Condenser
C
Compressor
D
Heat exchanger
E
Expansion valve