Algolagnia is the practice from BDSM sessions of application of pain on an erogenous zone in order to get sexual satisfaction.