Someone into masochism gets sexual.
Schadenfreude is the experience of pleasure, joy, or self-satisfaction that comes from learning . Sadism gives pleasure through the infliction of pain, whereas schadenfreude is pleasure on observing misfortune and in particular the fact The epikhairekakos (ἐπιχαιρέκακος) person takes pleasure in another's ill fortune.
Psychiatry. the condition in which sexual gratification depends on suffering physical pain or the tendency to find pleasure in self-denial, submissiveness, etc.
Someone into masochism gets sexual pleasure from being hurt: they are turned on by pain.
Richard H. Smith who wrote The Joy of Pain: Schadenfreude and the Dark Side of Few people will easily admit to taking pleasure in the misfortunes of others.