What is this wire to?

Go to myMopar.Com and down load your cars Factory Service manual and a wiring diagram. If your year is not there the previous or following year might work.

They are free downloads.

In the future you can look for the color and location of wires and see what they do.

From the looks of it I would say that CFD244 answered your question.