engines convert one form of energy into another