Does anybody know what this is and why it started smoking???

What the heck does it connect to?