Steam engine has 2 different meanings across 1 category:
Noun
external-combustion engine in which heat is used to raise steam which either turns a turbine or forces a piston to move up and down in a cylinder
A piston engine driven by steam (as contrasted, for example, with a steam turbine).