A petrol engine produces power by burning a mixture of air and fuel (gasoline) in its cylinders and obtaining energy from the combustion process. Air is measured by the fuel injection system and fuel is provided based on that measurement.