One of the first steam engines uses to drive pumps. Hot steam fills a cylinder, a valve is closed and a spray of cold water condenses the steam to make the cylinder retract again.