In a diesel engine, ignition of the injected fuel occurs due to the heat caused by the compression of the fuel/air mixture. (In petrol/gasoline engines, spark plugs are used for ignition.) The subsequent expansion of gases drives the pistons of the engine downward, creating mechanical energy. This high-speed video shows the in-cylinder combustion within a diesel engine. Note the symmetry and vorticity of the flow.