Many physical systems have a tendency to equilibrate the energy between different subcomponents. Sometimes it is exact, and sometimes not. For example, in an acoustic wave, the wave's energy is on average half kinetic (motion of the gas) and half internal (pressure). In the interstellar medium, there is roughly the same energy in the different components, such as internal energy, turbulent energy, magnetic field and energy of the cosmic rays. Stars are no different. In the sun, there is roughly the same binding energy (which is negative) as there is thermal energy. This can also be shown using the virial theorem. In white dwarfs, the thermal energy is unimportant, instead, there the degenergy energy of the electrons is comparable to the binding energy. We can use this tendency for equipartition to estimate different stellar parameters.