Internal combustion engine and Felice Matteucci tried to patent "Obtaining motive power by the explosion of gases", although the application did not progress to the granted stage. In 1860, Belgian Jean Joseph Etienne Lenoir produced a gas-fired internal combustion engine. In 1864, Nikolaus Otto patented the first atmospheric gas engine. In 1872, American George Brayton invented the first commercial liquid-fuelled internal combustion engine. In 1876, Nikolaus Otto, working with Gottlieb Daimler and Wilhelm Maybach, patented the compressed charge, four-cycle engine. In 1879, Karl Benz patented a reliable two-stroke gasoline engine. Later, in 1886, Karl Benz began the first commercial production of motor vehicles
Internal combustion engine cooling through a distance. Engines are inefficient, so more heat energy enters the engine than comes out as mechanical power; the difference is waste heat which must be removed. Internal combustion engines remove waste heat through cool intake air, hot exhaust gases, and explicit engine cooling. Engines with higher efficiency have more energy leave as mechanical motion and less as waste heat. Some waste heat is essential: it guides heat through the engine, much as a water wheel works only if there is some exit velocity (energy) in the waste water to carry it away and make room for more water.