Cancer cells are often under stress due to their rapid growth and the harsh tumor microenvironment, which can include hypoxia and nutrient deprivation. These conditions can lead to an accumulation of misfolded proteins, thereby activating the UPR. The UPR helps cancer cells survive under these stressful conditions by adapting their protein-folding capacity and maintaining cellular homeostasis.