It's possible that the problem could be related to the spark. Some things to consider when trying to diagnose a lack of spark include:
Ignition system: Check the ignition
system components such as the coil, spark plug wires, distributor cap, and rotor. Make sure they are all in good condition and functioning properly.
Fuel delivery: Ensure that fuel is being delivered to the engine. Check the fuel lines, fuel pump, and carburetor for any signs of damage or clogs.
Compression: If there is no spark and the fuel delivery system is functioning properly, the next step would be to check the compression. A compression gauge can be used to measure the amount of compression in each cylinder. If the compression is low in all cylinders, it could indicate a problem with the engine's internal components such as the valves, pistons, or rings.
Timing: If there is spark and fuel delivery, it could be a timing issue. The timing belt or chain may have jumped a tooth or may be loose. This can be checked by removing the spark plug and observing the piston position when the crankshaft is rotated by hand.