Heat conduction
Conduction can happen when one part of a material is heated. The atoms in this part vibrate faster and are more likely to hit  their neighbors. The collisions cause those atoms also to move faster, passing the heat energy to them. In this way the energy travels through the solid. (Rather like the way energy passes along a set of tumbling dominos).