So it was only a hundred years ago - 1924 - when someone figured out the Sun, and all the rest of the stars, were made mostly of hydrogen with some helium. All the other elements were in trace amounts.
She was a student at Harvard named Cecilia Payne.
At the time the consensus was stars were made up of pretty much what Earth was made of.
It took 4 more years for a man to confirm the discovery before it was widely accepted, with him as discoverer.
It's all hers now.