In a piston engine, either a timing belt (also called a cambelt) or timing chain or set of timing gears is used to synchronize.
This synchronisation ensures that the engine’s valves open and close at the correct times in relation to the position of the pistons.