A two-stroke diesel engine combines the four strokes of intake, compression, combustion, and exhaust into only two strokes per revolution of the engine. It was invented in 1899. The basic parts include a fuel injector, cylinder, cylinder head, crank, crankshaft, and connecting rod. In the first stroke, the piston moves up and compresses the air-fuel mixture, and in the second stroke the piston moves down and pushes out the exhaust while allowing fresh fuel in. A four-stroke diesel engine converts fuel into motion through four strokes of intake, compression, power, and exhaust per revolution. Its main parts are the piston, crankshaft, connecting rod, flywheel, inlet and