The melting and boiling processes are represented by the flat sections. It is knows that temperatures don’t change during the melting and boiling stages until the phase transitions are finished. As a result, the relevant portions on the heating curve are flat.