The two level portions in the heating curve represent phase changes. In a heating curve, the level portions indicate the temperature remaining constant as energy is added, which corresponds to a phase change: one level portion corresponds to the melting of ice into water (solid to liquid), and the other corresponds to the boiling of water into steam (liquid to gas). Therefore, the correct answer is:
D phase changes.