There is no temperature change during melting (red line) because the substance is absorbing the extra amount of energy needed to break bonds between the solid particles.