The habit of focusing on the positive aspects of life and reframing negative experiences in a constructive manner.