DJs mix two different tracks and a new song is created. This is the essence of rave music. It feeds and grows on itself. It is a constant process of mirroring things in on themselves to create an entirely new thing that is combined with something else to create a new thing, etc. So, we get to the dancing.
Dancing is, to an extent, yet another reiteration of the music.
The music that the DJ creates spontaneously is a text. The DJ then must sense the communal energy of the group, and adjust his mixing accordingly. It is a constant process of energy being transmitted and refracted, creating a tangible feeling. Rave dancing can be highly stylistic, or extremely vulgar. The beat is the driving force.