The best interpretation of the two flat portions of the graph is:
These show where changes of state are occurring.
During these flat regions (the melting and boiling points), the temperature remains constant as thermal energy is added or removed, indicating a change of state (from solid to liquid and from liquid to gas, respectively).