Typically, flogging is imposed on an unwilling subject as a punishment however, it can also be submitted to willingly for sadomasochistic pleasure, or performed on oneself, in religious or sadomasochistic contexts.
Flagellation (Latin flagellum, 'whip'), flogging or whipping is the act of beating the human body with special implements such as whips, rods, switches, the cat o' nine tails, the sjambok, the knout, etc.