I just learned that the Fraunhofer lineFraunhofer lines of the Sun indicatesSun's spectrum indicate that the Sun havecontains various elements other than just hydrogen and helium, for (for example, Na and Fe [Fraunhofer line on wikipedia]https://en.wikipedia.org/wiki/Fraunhofer_lines#:~:text=In%20physics%20and%20optics%2C%20the,the%20Sun%20(white%20light)%20.,) but isn'tdon't the Sun only have pp chain reaction thatSun's p-p chain reactions only involve hydrogen and helium? So where do these other elements came from?
Thank you in advance!