Corporal punishment is a form of intended bodily harm on a submissive or slave in a BDSM relationship. Corporal punishment can include slapping, whipping, beating, and spanking a partner with their consent.
Although this may sound ghastly to some who are unfamiliar with the community, enduring corporal punishment may actually help the submissive experience a release and pleasure. In the BDSM community, masochists who enjoy pain may derive extreme pleasure from corporal punishment.
Another reason that others may enjoy corporal punishment is that many people find sexual stimulation and heightened pleasure from pain.