When thermal energy is applied to ice the ice temperature rises and until 0 Celsius and then it stays the same for a period of time explain why this takes place

This phenomenon is known as the latent heat of fusion. When thermal energy is applied to ice, the ice absorbs the energy and its temperature rises. Once the ice reaches 0 degrees Celsius, it begins to melt and transition from a solid to a liquid state. During this phase change, the energy being applied is used to break the bonds holding the ice molecules together, rather than increasing the temperature of the ice. This process requires a significant amount of energy, known as the latent heat of fusion, which causes the temperature of the ice to remain constant at 0 degrees Celsius until all of the ice has melted. Once the ice has completely melted, any additional thermal energy applied will continue to raise the temperature of the water.