Heat from fuels is sometimes used to heat water and create steam. The steam expands, compared to liquid water, and may be used to push a piston or turn a generator. In this case, the heat from the fuel is being most directly.

A. transformed into potential energy.
B. used to warm the building.
C. used to perform work.