An algolagnist is a person who feels sexual pleasure while experiencing or inflicting physical pain. Algolagnists have a condition or perversion traditionally called algolagnia. Today it’s more commonly called algophilia.
The term comes from the Greek words algos, meaning pain, and lagneia, meaning lust. Sadists and masochists are two types of algnolagnists. Sadists derive sexual pleasure from inflicting physical pain on others, while masochists become aroused when receiving physical pain.