Have you ever wondered why there exists 2 different engines, Diesel and Petrol (Gasoline) ?. This video is aimed at giving a logical illustration of differences and advantages of diesel and petrol engines. It also answers the questions like, what if I put petrol into a diesel engine or vice versa.
source/image(PrtSc): Learn Engineering
The major difference between diesel and gasoline is the way these explosions happen. In a gasoline engine, fuel is mixed with air, compressed by pistons and ignited by sparks from spark plugs. Watch the video from Learn Engineering for more info:
In a diesel engine, however, the air is compressed first, and then the fuel is injected.Because air heats up when it’s compressed, the fuel ignites.The diesel injector is within the combustion area of the engine, so diesel fuel needs to be “tougher” than gasoline.
Remember that the diesel engine has no spark plug, that it intakes air and compresses it, and that it then injects the fuel directly into the combustion chamber (direct injection).The compression ratio of the gasoline engine is typically much lower than that of a diesel engine.