/ˈmæs.ə.kɪst/
M
a person who derives sexual gratification from their own pain or humiliation.

derive sth from sth
formal to get sth from sth (从…中)得到,获得
He derived great pleasure from painting.
他从绘画中得到极大的乐趣。

sadism