balanced cables basically send two copies of the signal one is inverted and there is also a ground.

The noise, mostly 60 hertz from the electrical line is the same on both so one will cancel the other when the two signals are put back together.

Here is a good explanation:

http://en.wikipedia.org/wiki/Balanced_audio_connector