Question: how a diesel engine works?
Answer: Diesel engines work by compressing only the air. This increases the air temperature inside the cylinder to such a high degree that atomised diesel fuel injected into the combustion chamber ignites spontaneously. ... They were originally used as a more efficient replacement for stationary steam engines.