How does a 4 Stroke Engine Work?

The piston moving down causes the fuel air mixture to be drawn into the cylinder. The intake valve closes and the piston moves up. When the piston reaches the top, the air and fuel mixture is ignited by the spark plug pushing the piston back down. The exhaust valve opens as the piston moves up again letting the exhaust gases out of the cylinder.