The compression stroke is the second stroke in the four-stroke cycle. In the compression stroke the piston rises, compressing the air or air-fuel mixture in the cylinder.