This type of coping mechanism aims to improve a person's mental state by reframing negative thoughts into positive ones.