Engines in which combustion is initiated by an electric spark plug in the cylinder head are known, not unreasonably, as "spark-ignition" or SI engines. These typically burn light hydrocarbon fuels characterised by their Octane Rating. These fuels may be called, depending on your location, 'petrol', 'gasoline', 'benzin', etc. Spark-ignition engines can also burn, and are commonly modified to burn, Liquefied Petroleum Gas (LPG), which is typically a blend of Propane and Butane.
Engines in which combustion is initiated by the heat attained by the high compression of the air charge in the cylinder are known (again quite reasonably) as "compression ignition" or CI engines. These typically burn heavier hydrocarbon fuels characterised by their Cetane Rating. These fuels may be called, depending on your location, 'diesel', 'distillate', 'DERV', 'gasoil', etc.
To avoid possible confusion, we will not refer to the engine types by the names of their fuel (petrol/gasoline or diesel/gasoil); rather we will use the terms spark-ignition (SI) and compression-ignition (CI).
Another term we need to look at is "stoichiometric combustion". This term describes the situation where air and fuel are combusted in just the 'right' proportions. That is, all of the fuel is fully burnt and all the oxygen in the air is consumed in the process. At the end of the combustion process there is no unburnt fuel and no oxygen remaining in the products of combustion.
While stoichiometric combustion in an engine would theoretically give the best efficiency, for various practical reasons, exactly stoichiometric combustion is seldom desirable in 'real world' engines.