involves inflicting pain (sadism) or receiving pain (masochism) to achieve sexual satisfaction.
Sadomasochism