Ignition Control to Distributor

They go to the pickup in the distributor.
I know but what are each of the two for. What do both wires do?