This energy is liberated at the center of the Sun as billions upon billions of nuclei of hydrogen atoms collide with each other and fuse together to form nuclei of helium, and in doing so, release some of the energy that is stored in the nuclei of atoms.