Answer:
The steam engines on steamboats burned coal to heat water in a large boiler to create steam. The steam was pumped into a cylinder, causing a piston to move upward to the top of the cylinder. A valve would then open to release the steam, allowing the piston to fall back to the bottom of the cylinder.
Step-by-step explanation:
thats how a steam engine works i am a steam locomotive/ship expert.