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 increased motion (heat), and when it reaches the boiling point and transitions into steam, the potential energy also increases as the particles overcome intermolecular forces and move further apart.