What are gasoline and diesel? Studies have shown that gasoline is mainly composed of C4-C12 hydrocarbons, which have the characteristics of low autoignition point and high volatility, and are suitable for spark ignition engines. Diesel contains longer carbon chains C8-C21, has higher energy density and higher thermal efficiency, and needs to rely on compression ignition. Both are the most common vehicle fuels and play an important role in modern transportation. Although they are both extracted from petroleum, they have significant differences in chemical properties, combustion principles, environmental impacts, etc. This article will carefully analyze the differences between the two from these aspects.

Chemical properties
Gasoline and diesel have essential differences in chemical composition. Gasoline is mainly composed of lighter hydrocarbons with carbon atoms between 4-12, including straight-chain alkanes, branched alkanes, cycloalkanes, etc. The carbon number distribution of gasoline is C4-C12, the molecular weight is relatively small, and the volatility is relatively high. Diesel is composed of heavier hydrocarbons; the carbon number range is generally between C8-C21, contains more long-chain alkanes and cycloalkanes, and the molecular weight is significantly greater than gasoline. In terms of volatility, gasoline is significantly higher than diesel, which makes gasoline more volatile and forms more combustible vapor at room temperature.
Combustion principle
Because of their different natural characteristics, different combustion principles should also be adopted. This ignition method requires the fuel to have a high anti-knock property, which is generally measured by the octane number. Its fuel quality is evaluated by the cetane number, which is used to indicate the tendency of self-ignition.

Environmental impact
The combustion of gasoline and diesel will produce a lot of pollution. Diesel engines emit significantly more nitrogen oxides and particulate matter than gasoline engines. These substances will produce photochemical smog and cause people to suffer from respiratory diseases, so modern diesel vehicles are equipped with diesel particulate filters and selective catalytic reduction to alleviate this problem. Gasoline vehicles mainly produce volatile organic compounds and carbon monoxide, because their high volatility leads to more evaporative emissions, and incomplete oxidation during combustion produces carbon monoxide. It is worth noting that in the emission standards of different countries, such as Euro 6 and National 6, the gap between the two in pollutant emissions is being narrowed, and both fuel technologies are being driven towards a cleaner direction.
Summary
As mainstream automotive fuels, gasoline and diesel have differences in chemical properties, combustion principles, environmental impact, etc. With the advancement of environmental regulations and engine technology, both are constantly reducing pollution to the environment. Although there are many new energy technologies now, gasoline and diesel still have an important position in the short term.