the orange wire is a headlight wire. it triggers the factory headunit to dim as you turn your headlights on.
when your headlights are off, it acts as an earth. as you switch your headlights on power runs through it. there will be an input for it on your new headunit. comes in handy when you are...