1) Heat engines operate in a thermodynamic cycle to absorb heat (Q>0) from a hot reservoir and use it to do mechanical work (W>0), dumping excess heat (QC<0) into a cold reservoir.
2) The efficiency of a heat engine is defined as the work done (W) divided by the total heat absorbed (QH), and is always between 0 and 1.
3) Refrigerators and heat pumps operate using the same thermodynamic cycles as heat engines but with the goal of maximizing heat transfer (QC for refrigerators, QH for heat pumps) for a given expenditure of work (W). Their performance is quantified by coefficients of performance K that can be greater than 1