A heat engine turns heat into work by exploiting the temperature difference between two sources. This section starts from the historical note on Sadi Carnot, defines engine and efficiency, derives Carnot’s maximum limit and shows how the same cycle, run backwards, becomes a refrigerator or a heat pump.