when an object is heated, the atoms/molecules inside it start to vibrate faster and faster. this means that they get closer together and further apart as they vibrate. if two objects are touching then some of these fast moving molecules will hit another object and pass on their kinetic energy (heat). this process continues until all the heat has been transferred from one object to another.