Thomas Savery, in 1698, patented the first practical, atmospheric pressure, steam engine of 1 horsepower (750 W).
Here's a scale model of how it works.
When you heat an enclosed area and let it cool a vacuum is created which can sucks water.
This simple invention changed the world in a big way.