The combustion of a gas engine is controlled by a spark. The fuel is compressed with fresh air and once the piston is on top of its stroke and the compression is at what the manufacturer wanted, a spark ignites the fuel and air mixture, which is what causes the engine to run. A diesel engine does not use a spark.