The ignition switch connects the circuit that provides voltage to starter motor.
The ignition switch performs a primary function in that it allows the engine to crank over and the engine to eventually start. In older vehicles it's part of the key barrel, and you activate the ignition switch by turning the key.