I am cleaning up my basement and came across an open junction in a closet between 2 adjacent rooms; I will call them "paint room" and "radio room". I know open junctions are not good so after turning off the power, I was going to disconnect it all and put in a junction box mounted on a stud and hook everything back up. But after taking what must have been half a roll of electrical tape off I am not sure about the entire thing.
There is one 14/2 wire that runs between the light fixture in the radio room and the light fixture in the paint room. The covering is stripped off this wire at the open junction. There is a 2nd wire - 12/3 coming in from direction of the main panel. The 3rd wire (red color, not ground) in this 12/3 is snipped off. The black wire from the 12/3 goes to the 14/2 black wire in the radio room. The white wire from the 12/3 goes to the 14/2 black wire in the paint room. The white wire between the radio and paint rooms (remember it is 1 14/2 wire between the 2 rooms), is not broken, nor is the ground wire, though the ground wire from the 12/3 goes to nowhere. I thought the white "neutral" wire in the 12/3 had no power?? There are separate wall mounted switches that are wired directly to the light, and not from the panel. Still don't understand it.
I probably should have left well enough alone..but my question is, is it safe? Should I even mess with it any further??? Picture attached.