Steam is creating usable energy from a fuel source providing heat. This heat energy is directed to motive power, pushing the piston. Tremendous power but huge efficiency losses
Fuel is applied directly to it's end point of use, increasing efficiency by a large factor.
As to it's classification, I'm not sure.