Optical whispering-gallery-mode microresonators with ultrahigh quality factors and small mode volumes have played an important role in modern physics. They have been demonstrated as a diverse platform for a wide range of photonics applications, such as nonlinear optics, optomechanics, quantum optics, and information processing. Thermal behaviors induced by power buildup in resonators or environmental perturbations are ubiquitous in high-quality-factor whispering-gallery-mode resonators and have played an important role in their operation for various applications. Here in this review, we discuss the mechanisms of laser field induced thermal nonlinear effects, including thermal bistability and thermal oscillation. With the help of the thermal bistability effect, optothermal spectroscopy and optical non-reciprocity have been demonstrated. On the other hand, by tuning the temperature of the environment, the resonant mode frequency will shift, which could also be used for thermal sensing/tuning applications. Thermal locking technique and thermal imaging mechanisms are discussed briefly. Last, we review some techniques to realize thermal stability in a high-quality-factor resonator system.