The correct response is:
The particles gain both potential and kinetic energy.
As water is heated, the kinetic energy of the water molecules increases due to higher temperatures, causing them to move more rapidly. When water boils, and the molecules transition into the vapor phase (steam), they also gain potential energy as they overcome intermolecular forces to become spaced further apart as a gas. Therefore, both kinetic energy and potential energy increase during this process.