It's important to remember that both melting and freezing are the same process, just viewed from different directions. Melting is the transition from a solid to a liquid, while freezing is the transition from a liquid to a solid. They occur at the same temperature for a given pure substance.