Diesel engines, like gasolene engines, are both internal combustion engines. Fuel is mixed with air when it goes into the engine and that mixture is compressed internally, within the engines cylinders. After a while, the fuel ignites, driving the piston