Heat moves through materials, like the wood or metal in your walls.
Heat circulates through liquids and gasses and can even travel up into attics or down to basements if these areas need to be adequately insulated.
Heat travels in a straight line and heats anything solid that absorbs its energy, such as a roof or walls.