masochism
noun
[ ˈmasəkɪz(ə)m ]
• the tendency to derive sexual gratification from one's own pain or humiliation.
• "with things such as bondage and masochism, it's all right if you both go for it"
Origin:
late 19th century: named after Leopold von Sacher-Masoch (1835–95), the Austrian novelist who described it, + -ism.