Not only that, but the science is extraordinarily general, applicable not only to heat engines, but to nearly all the standard chemistry that takes place whenever we burn coal in air, allow an iron nail to rust, cook a meal, manufacture steel, dissolve salt in water, boil a kettle or send a rocket to the moon. All these chemical processes involve the exchange of heat and they are, at a molecular level, all driven by thermodynamic principles that are based on random motion.