Combustion engines work by creating an explosion above a cylinder causing it to move up and down. Six cylinder means that how many cylinders are in the engine being moved.
When talking about a engine it is classified by the number of cylinders it has. A cylinder is the round hole in the block where the combustion occurs. So a six cylinder has six individual holes.