In their interiors, the star's atoms are taken apart by tremendous atomic collisions. It makes the stars hot and bright by altering its atomic structure, releasing an enormous amount of energy. Nuclear fusion occurs. It involves two atomic nuclei assembling to make a large nucleus. Hydrogen nuclei join to form helium nuclei. Stars uses its hydrogen to maintain their energy output.