Gregg v. Georgia
Death sentences cannot be mandatory (required for anyone who commits a certain crime).  Each judge or jury has to be able to decide whether their individual defendant deserves the death penalty.  When the judge or jury decides this, they must be able to think about things like details of the individual defendant's crime and their behavior.