thermal energy flows from hot bodies to cold bodies