Heat Engine: A device that converts thermal energy into mechanical work, typically operating between two reservoirs at different temperatures.
Refrigerator:A device that transfers heat from a cooler internal environment to a warmer external environment, usually measured by its coefficient of performance.
Second Law of Thermodynamics:$This law states that entropy of an isolated system always increases over time and that energy transfers are not completely efficient$.