Execution

Who, exactly, is being corrected by an execution?