During an ideal phase change at fixed pressure, supplied energy can change the substance’s state without raising its temperature. Specific latent heat is energy per unit mass for the stated transition.
What changes during melting? Particle arrangement and freedom of motion.
Why can temperature stay constant while heating? Energy is being used in a phase change.