An illustration of thermodynamic vaporization of water in a cylinder with piston. The cylinder filled…