Commutation refers to the process of substituting one form of a legal penalty with a lesser one, often reducing a prison sentence or altering a death penalty to life imprisonment. It is typically granted by a head of state or a government official with the authority to do so, based on factors like good behavior, humanitarian grounds, or new evidence.