When a material is heated, the energy is transferred to the particles within the material. This energy causes the particles to vibrate and move faster, increasing their kinetic energy.