Rise in temperature makes the molecules move faster and far apart by increasing their kinetic energy. This effect can be seen by taking an ice cube in a beaker. Start supplying heat to the beaker. With rise in temperature, ice begins to melt and starts turning into liquid. This is because molecules of water in ice start vibrating faster and break away from their fixed points and move around the beaker. With continuous rise in temperature, vibration of molecules become faster and faster and some molecules start leaving liquid and escaping into atmosphere. The liquid is now turning into gas (vapour).