The death penalty, also known as capital punishment, refers to the practice by states of putting a person to death for committing certain crimes.