The band-gap energy of semiconductors tends to decrease with increasing temperature. When temperature increases, the amplitude of atomic vibrations increase, leading to larger interatomic spacing. The interaction between the lattice phonons and the free electrons and holes will also affect the band gap to a smaller extent. The relationship between band gap energy and temperature can be described by Varshni 's empirical expression (named after Y. P. Varshni),