Think about what happens to the kinetic energy of the molecules when the system is heated.