: a perversion (as masochism or sadism) in which pleasure and especially sexual gratification is obtained by inflicting or suffering pain