The alternator has four wires labelled S, L, IG and B.
S is the "Sense" wire that tells the regulator battery voltage, so that
it can adjust the charging rate. Flat battery - high rate, full battery = low rate.
L is for the charge indicator light. When the alternator is charging, the
voltage on this wire cancels the charge warning light.
IG is a switched supply from the battery to provide the initial kick (excitation)
to make sure that the alternator starts generating when the engine starts.
B is the battery wire. This is the heavy wire that connects the alternator to
the battery, and carries the full charging current