This is because the heat supplied is absorbed by the water particles and this heat increases the kinetic energy of all particles, which weakens the force of attraction between the particles and they start moving freely. As a result, water is converted into gas. This heat energy is called latent heat of vaporisation.