Original: In thermodynamics, a heat engine performs the conversion of heat energy to mechanical work by exploiting the temperature gradient between a hot "source" and a cold "sink".
Simplified: All of these processes gain their efficiency (or lack thereof) due to the temperature drop across them.