Heat engine
A heat engine is a system that transfers thermal energy to do mechanical or electrical work. While originally conceived in the context of mechanical energy, the concept of the heat engine has been applied to various other kinds of energy, particularly electrical, since at least the late 19th century.