What is this plug for?

All cables up on the top of the engine block are plugged in. Every throttle body, every sensor, etc. All relays are done, there were no loose cables behind the air box. This is just one straggler right next to the relays, taped together with the fuse box cable. This harness isn't from my bike originally, so I suspect it's emissions as someone else pointed out. Thanks for all the inputs