Male rattlesnakes often engage in a ritual combat dance to earn the right to mate with a female. This 2-minute video from the Arizona-Sonora Desert Museum shows such a combat between two speckled rattlesnakes.
Several years ago I saw two western diamondback rattlesnakes engaged in this ritual at the museum. Everyone gathered around to watch. I warned them to be careful because the female may be close by, and she was.