steam engine — heat engine that performs mechanical work using steam as its working fluid