The correct response is:
b. The particles gain both potential and kinetic energy.
As water heats up, the kinetic energy of the particles increases, leading to a rise in temperature. When the water begins to boil, the particles also gain potential energy as they change from a liquid state to a gaseous state (steam), overcoming the intermolecular forces between them.