How do the horizontal portions of the graph represent? When heat is added or removed from the substance and the temperature stays the same, where is the thermal energy going, Why?

Dude you just draw it onto your paper er whatever
ok!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!