How thermos flask works to keep thing hot or cool?

Thermos jugs are just very good insulators. Just like your house, they're designed to keep one or the other of extreme temperatures away from the inside of the jug ...and vice versa.

FriPilot