Once the piston compresses the gas along with the piston reaches TDC. The spark plug makes a spark that ignites the fuel. The engine which completes its cycle in two strokes is called a two-way stroke engine. These kinds of engines were being used in outdated vehicles like Yamaha RX-a https://www.yantracart.com/gardening-tools/grass-cutting-machine-and-brush-cutters/