sadism
When a character is getting pleasure or satisfaction (especially sexual one) from inflicting pain on someone else.
The term was derived from the name of the French politician, philosopher and writer Marquis de Sade, whose works contain several instances of this sexual practice.