What exactly if the difference between XLR, DMX and a microphone cable.

And what is this thing with 5pin and 3pin for lights?