A cylinder is the central working part of an engine , the space in which a piston travels .
A cylinder is the central working part of a reciprocating engine or pump , the space in which a piston travels .