Conversion of energy to mechanical work