In older vehicles this is done via an Ignition Distributor, with newer vehicles using Multi-Outlet Coils with Ignition Leads connected directly to the Spark Plugs. HT Leads, ignition cable, plug leads, ignition wires.
eBay