The diagram summarises the common changes of state.
Melting, evaporating and boiling
Energy must be transferred, by heating, to a substance for these changes of state to happen. During these changes the particles gain energy. This is used to overcome forces of attraction between particles:
Evaporation can take place below the boiling point of a substance. This is why damp clothes dry when they are hung from a washing line. Boiling happens at the boiling point, when the rate of evaporation is much faster.
Condensing and freezing
Energy must be transferred from a substance to the environment for condensing and freezing to happen. During these changes of state the particles lose energy as forces of attraction form between them.
The particle model does not take into account:
For example, at room temperature and pressure, the distance between helium atoms is over 50 times more than the diameter of helium atoms. This is much more than you normally see in diagrams.
In addition, the particle model does not take into account the forces between particles. For example, some weak forces of attraction remain between particles in the gas state.