The steam locomotive
A steam engine takes heat from burning fuel and turns some into motion, dumping the rest out the stack. No engine converts all its heat to work — the second law forbids it.
Efficiency has a ceiling
A heat engine converts heat to work, exhausting waste heat. Carnot efficiency = 1 − T_cold/T_hot sets the maximum possible.