What is that wire connecting
It’s a high-frequency antenna, used mostly on flights traveling across seas and oceans, where there tends to be areas without VHF and UHF coverage. This was the case on older aircraft, most newer ones have a smaller hidden one on the tail-fin.