What is the composition of the Sun?

By its mass, it is 73 percent Hydrogen, 25 percent Helium and 1.7 percent all the rest of the elements.

For every 100 grams of hydrogen, you have 34 grams of helium, 1.75 grams of carbon,nitrogen,oxygen and neon, and .5 grams of all the other elements.