The energy from the Sun increases the energy of the water molecules when they are heated. This causes the water molecules to vibrate or move faster until some of them escape to become water vapor.