The industrial use of heat is recent, although the first steam engine was built in antiquity (in the 1st century CE). At the time, however, no one foresaw the extraordinary potential of the machine presented by Hero of Alexandria, based on a model proposed by Vitruvius a century earlier. Eighteen centuries later, even as James Watt (1736–1819) was working to improve his steam engine, the economist and philosopher Adam Smith, at the same university as Watt, curiously made no mention of it in his celebrated essay Richesse des nations (1776), entirely failing to glimpse that this was where the future of industry lay. The first developments of what would become thermodynamics emerged in France at the end of the 18th century. The name is particularly apt, evoking both heat and motion.
Heat is not a material fluid -------------------------------------------
When he was not sitting in the National Convention (where he voted for the death of Louis XVI on January 16, 1793), the mathematician and physicist Lazare Carnot devoted himself as readily to the study and operation of very real machines as to infinitesimal calculus and geometry. His admiration for the 12th-century Persian poet Saadi of Shiraz (who was enslaved by the Crusaders in Acre, now in Israel) led him to name his first son Sadi. From an early age, his son likewise developed a passion for studying steam engines, notably publishing a short essay entitled Réflexions sur la puissance motrice du feu (1824). The young scholar's treatise abounds in mistaken ideas, since Sadi Carnot regarded heat as a kind of material fluid that was conserved and produced energy, in keeping with the thinking of most scientists of his day. Yet it also contains a fundamental insight: steam engines work because heat passes from hot to cold. It was this same Sadi Carnot who, a little later (1831), stated the first law of thermodynamics, namely the conservation of energy in heat exchanges: the amount of kinetic energy that can be extracted from a heat engine as motion cannot exceed the amount of energy supplied as heat.