Transfer of thermal energyHigher2 marks

Why does a vacuum flask keep liquids hot or cold?