Heating a system changes a substance's internal energy by increasing the kinetic energy of its particles
The temperature of the material, therefore, is related to the average kinetic energy of the molecules
The higher the temperature, the higher the kinetic energy of the molecules and vice versa
This means they move around faster
This increase in kinetic energy (and therefore internal energy) can:
Cause the temperature of the system to increase
Or, produce a change of state (solid to liquid or liquid to gas)