In contrast, fuels with lower octane numbers (but higher cetane numbers) are ideal for diesel engines, because diesel engines (also referred to as compression-ignition engines) do not compress the fuel, but rather compress only air and then inject fuel into the air which was heated by compression. Gasoline engines rely on ignition of air and fuel compressed together as a mixture, which is ignited near the end of the compression stroke using electrically activated spark plugs. Therefore, high compressibility of the fuel matters mainly for gasoline engines. Use of gasoline with lower octane numbers may lead to the problem of engine knocking.