the temperature of a substance can not remain constant as the substance changes from solid to liquid then finllay from liquid to gas. This is so because as a solid is heated it changes state and once it rechanges it boiling point it changes to gas or vapour.