The change of phase takes place when the amount of heat added is changing the state and the temperature of the system remains constant.
In the given graph, the ice is changed into the water state through segment B-C.
Then the water is changed into a water vapor state in the segment D-E.
Hence, changes of state occur at segment B-C and segment D-E.