

Its a pair of wires with a small yellow plug on the end. Its trailing out out of some part of the exhaust (the cat? wow I'm mechanically minded).
I found another similarly sized yellow plug that had nothing connected to it so I assumed thats where it was meant to be. Both plugs were fairly well smashed up, so I hard soldered them together. I could still see which wires were meant to connect to which from the shape of what was left of the plugs.
So back to my original question, what is it and whats it do?