The correct response is:
The particles gain both potential and kinetic energy.
As water is heated, its temperature increases, causing the kinetic energy of the particles to rise (they move faster). When water boils and transitions to steam, energy is also used to overcome the attractive forces between the particles, increasing their potential energy. Thus, both types of energy increase during the heating and boiling process.