The use of the death penalty for certain crimes.
The application of an unpleasant stimulus or penalty for the purpose of eliminating or correcting undesirable behavior.