A substance (water, for example) in different states at different temperatures (ice and water) will eventually reach an equilibrium temperature.