In the system of harmonic oscillators obeying quantum mechanics in contact with a heat bath, each oscillator can take various quantum states and the probability being in a qauntum state is determined by the Boltzman factor. The energy of the system fluctuates around the average value.