This Is a Certified Answer

Certified answers contain reliable, trustworthy information vouched for by a hand-picked team of experts. Brainly has millions of high quality answers, all of them carefully moderated by our most trusted community members, but certified answers are the finest of the finest.
Heat flow is independent to medium, therefore energy can flow in all kinds of container. Energy can also flow in vacuum. BTW, energy can be flow from higher temperature to lower temperature, so even satisfying only this principle is sufficient. If you want basis, it is the zeroth law of thermodynamics.
4 5 4