In most species, dancing is about banging. (when they dance of course) Some birds will dance to signal their fitness to a female, right before reproduction. And the rules can be pretty intricate too.
It probably is less of a signal in humans, though. But I can't say I haven't successfully mated a few times via dancing.