The principle behind Raman thermometry lies in the temperature dependence of the Raman shift and the intensity of Raman peaks. When a material is heated, its phonon populations change, leading to shifts in the Raman spectra. By analyzing these shifts and the intensity ratios of Stokes and anti-Stokes lines, one can determine the temperature of the material.