A two-stroke diesel engine is a Diesel engine that works in two strokes. It was invented by Hugo Güldner in 1899. All diesel engines use compression ignition, a process by which fuel is injected after the air is compressed in the combustion chamber, thereby causing the fuel to self-ignite.