WHAT ARE THE PRINCIPLES BEHIND THERMAL EQUILIBRIUM?

Two physical systems are said to be in thermal equilibrium if there is no exchange of heat between them while being connected to each other by a path which is permeable to heat. Thermal equilibrium follows by the zeroth law of thermodynamics. If the temperature within the system is temporarily and spatially uniform, then the system is said to be in a state of thermal equilibrium.