As water becomes warmer, boils, and then becomes water vapor (steam), 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, while the potential energy also increases as the particles move further apart during the phase transition from liquid to gas.