| |||||||||
A cylinder in an internal combustion engine is the space a piston travels in. The piston is the same size as the two bases of the cylinder (the circular and flat surfaces).
In the accompanying drawing, which depicts a cross-section of a steam engine cylinder, the bottom sliding part is the piston, and the top sliding part is a valve that directs steam into the two ends of the cylinder alternately.