Heat always escapes from hot to cold
A hot drink loses heat to the cooler room. A cold drink gains heat from the warm room. Heat can travel by three roads: conduction, convection and radiation.
Everyday Physics · Phenomenon 6 · Heat Transfer
Spot the pattern in daily life, then see the physics behind it. Switch the flask features on and off and watch both pictures.
A thermos flask keeps drinks hot or cold.
A thermos flask reduces heat transfer by conduction, convection and radiation.
Think of the flask as a castle with three walls of defence. Each wall blocks one road that heat could use to get in or out.