The answer is; this heat is referred to latent heat
This heat is used to change the phase of the water. During this phase change, the molecules acquire energy that enables them to overcome the intermoelcular forces in their structure and hence get further apart from each other (intermolecular spaces increase). The molecules also gain a higher kinetic energy.