Describe what happens to the atomic nuclei during a nuclear fusion reaction, such as the fusion of deuterium (12H^{2}_{1}\text{H}12H) and tritium (13H^{3}_{1}\text{H}13H).