When a system is at the melting point or freezing point. A substance is in phase equilibrium when any amount of solid can coexist with any amount of liquid, and raising or lowering the temperature will produce pure liquid or pure solid, respectively.