A diesel engine is a type of heat engine that uses the internal combustion process to convert the energy stored in the chemical bonds of the fuel into useful mechanical energy. ... First, the fuel reacts chemically (burns) and releases energy in the form of heat.