During nuclear fusion, atomic nuclei are joined together, releasing massive amounts of energy in the process.