Answer
Compression is the second stroke in Otto's cycle, which is Thermodynamic cycle used in gasoline engines. During compression, the piston moves upward, reducing the volume of the cylinder and increasing the pressure and temperature of the air-fuel mixture. This compression prepares the mixture for the third stroke, the power stroke, where the spark plug ignites the mixture, causing it to burn and expand, driving the piston downward.