Thermos flasks work by creating a vacuum between the inner and outer walls. This vacuum prevents heat transfer through conduction, convection, and radiation, keeping the contents hot or cold for extended periods.
Let me know if you had a different question about thermos flasks!