Answer:
Heres a very LONG answer-
The real answer:
Its in the kinetic-molecular theory, the temperature of a substance is related to the average kinetic energy of the particles of that substance. When a substance is heated, some of the absorbed energy is stored within the particles, while some of the energy increases the motion of the particles.