Here's the breakdown:
* Big Bang: The Big Bang produced the vast majority of hydrogen (about 75%) and helium (about 25%). These were the first elements to form in the universe.
* Stellar Nucleosynthesis: Stars do create heavier elements, like carbon, oxygen, nitrogen, and even iron, through nuclear fusion in their cores. This process is called stellar nucleosynthesis.
* Supernovae: When massive stars die in supernova explosions, they release these heavier elements into the interstellar medium.
Therefore:
* Hydrogen and Helium were primarily formed in the Big Bang, not in stars.
* Stars do create heavier elements through nuclear fusion, but they are not responsible for the vast majority of hydrogen and helium in the universe.
In summary: While stars play a crucial role in creating the elements we see around us, the initial abundance of hydrogen and helium came from the Big Bang.