It has been observed that temperature remains constant till all solid melts into liquid. The heat supplied is used for changing a solid state into its liquid state by overcoming the particle-particle attraction force. The solid substance absorbs heat energy without showing any rise in temperature. This heat energy is called latent heat. The amount of heat required to convert a unit mass of a solid into its liquid state, without a change in temperature (i.e. at its melting point) is called the latent heat of fusion.EXPLAIN
When phase change occurs the intermolecular bonding does change. This occurs because of heat (or lack of it). The heat energy can loosen bonds from the change of state from say liquid to gas while the bonds stiffen when the opposite happens. Here, the heat energy does not raise the temperature of the substance during phase change instead, it is responsible for affecting the inter molecular forces of the substance.
Thus, the temperature of the substance does not change during phase change although heat is being applied to it.