What happens to the molecules when a liquid changes to a gas?

they speed up