Voltage Regulator problem

Looks like you have 2 wires twisted together, what are they for?

The wire that is twisted together I only just found while looking for the V/R plug. I will be repairing it. It goes here to the starter relay.
6.jpg