'Rant' = to speak angrily
'Rave' = to make angry gestures (like a crazy person)
They are very similar and often used together. Rave also has a second meaning, which is 'to dance energetically'.
'A rave' is also a dance event with DJs and electronic music.