Any device that transfers heat from one fluid (liquid or gas) to another fluid or to the environment.