the engine converts fuel energy to both hydraulic and mechanical(rotational) energy.so that mechanical energy is used for control the camshaft, timing belt and to produce electrical energy.hydraulic energy is used to rotate the wheels,move the pistons and for steering.