How does a Piston Work?

A piston is part of an engine block, which consists of a series of long hollow channels called cylinders, each one containing one piston. As the crankshaft spins, the pistons, which are connected to the it by the piston rods, move up and down An air/fuel mixture enters the engine on the downward motion of a piston, gets compressed by its upward motion, and at the top it gets pushed between the top of the piston and the top of the engine cylinder, preparing the mixture for ignition by the spark plugs.