The best interpretation of the two flat portions of the graph is:
These show where changes of state are occurring.
During these flat portions, the temperature of the substance remains constant while the heat is being added or removed, indicating that a phase change (such as melting or boiling) is taking place.