Nearly every vehicle on the road today is powered by some version of the four-stroke internal-combustion engine patented by Nikolaus Otto in 1876. Otto exploited the findings of French physicist Sadi Carnot, who in 1824 showed that the efficiency of an engine depends critically on the temperature differential between a hot “source” of energy and a cold “sink.” The four-stroke engine compresses an air-fuel mixture and ignites it with a spark, thus creating a fleeting but intense source of heat. Its portable efficiency has not been matched since.

Yet some consider the internal-combustion engine an anachronism, a dangerously out-of-date vestige of a world that assumed oil was unlimited and the climate stable. The best hope for displacing the engine appears to be an electric motor powered by an energy store such as chemical batteries or a hydrogen-powered fuel cell. What many forget is that electric vehicles had their chance—indeed, they were far more popular than gasoline-powered cars in the late 19th and early 20th century. They could go all day on a single charge and move a driver around a city with ease. They did not require a hand crank to start and did not have gears to shift, both of which made gas-powered vehicles of the day as user-friendly as heavy machinery.

Electric vehicles were more suited to the world of the 19th century than the 20th, however. Those early vehicles could go all day on one charge because speed limits were set between seven to 12 miles per hour to accommodate horse-drawn carriages. When those limits rose after World War I and travel between cities and towns became the norm, gasoline-powered vehicles began to dominate the auto market.

Since then, automakers have invested untold billions into increasing the efficiency of the modern four-stroke engine. Until electric cars can surpass the power and range of vehicles afforded by gas, expect the internal-combustion engine to continue its long reign.