Axial cross section of Carnot's heat engine. In this diagram, abcd is a cylindrical vessel, cd is a movable piston, and A and B are constant–temperature bodies. The vessel may be placed in contact with either body or removed from both (as it is here).[1]