White wires are coming from the stator providing AC voltage to the voltage regulator/rectifier. The regulator converts AC voltage to DC voltage. The red wire carries the DC voltage to charge the battery. On most engines this wire is connected to the large red wire on the solenoid, which is connected to the positive battery terminal.