The correct response is:
The particles gain both potential and kinetic energy.
As water is heated, its temperature increases, leading to an increase in the kinetic energy of its particles. When the water boils and transitions into steam, the particles also gain potential energy as they move from a liquid state to a gaseous state, which allows them to overcome the intermolecular forces holding them together.