When water is heated, the particles of water gain energy. This increased energy causes the particles to move faster and become more agitated. This increased agitation leads to the particles breaking away from each other and forming bubbles of water vapor.