The nineteenth-century invention powered by gasoline was A. the internal combustion engine. The internal combustion engine worked by burning gasoline, thereby creating the internal combustion that moves the engine, which creates power to move vehicles. This engine was necessary for the invention of the automobile. In the late 1800s, the German engineer, Karl Benz, created a four-stroke combustion engine that was used to power the first automobiles.