An illustration of Newcomen atmospheric steam engine. The boiler heats the water to build up steam in…