One of the ways heat is transferred is conduction, the transfer of heat through direct contact of two or more things. Your hands holding a cup of hot chocolate. The second was is convection, the transfer of heat through the movement of liquids or gasses. When you boil water. The third way is radiation, the transfer of heat through electromagnetic waves. When  there is a fire and you hold your hands out BESIDE it. If you put your hands above the fire it would be convection.
Hope you found this useful!