NCERT In-text Page 9 - Q3 - Matter in Our Surroundings
Question: For any substance, why does the temperature remain constant during the change of state?
Answer: The temperature remains constant because the supplied heat energy (latent heat) is used up entirely to overcome the forces of attraction between particles to change the state.
Full step-by-step NCERT solution with diagrams on Something by Zero.