If there are two substances each inside their own container, then heat
energy can be transferred between the two substances through the following
process:
- The atoms of each substance collide
with the atoms of their respective containers.
- If the containers are touching each other,
the atoms of one container can collide with the atoms of the other container
which can then collide with the atoms of the substance within the container.
- Eventually, the two substances and their containers
come to thermal equilibrium [a state in which all atoms in the system
have the same average kinetic energy].