The correct response is:
The particles gain both potential and kinetic energy.
As water is heated, the kinetic energy of the particles increases due to the increase in temperature, which causes the particles to move faster. Additionally, as the water boils and transitions into steam, the particles gain potential energy as they overcome intermolecular forces and move further apart from each other.