For any substance, why does a temperature remains constant during the change of state?

For any substance, why does a temperature remains constant during the change of state?

The temperature of any substance remain constant during the change of state because the heat energy supplied is used up in changing the state of matter and also this heat is used for breaking of several bonds or attractive forces.This heat, which does not raise the temperature of the body, is called Laten heat.