Well hydrogen would be the main element, as a process called nuclear fusion with both helium and hydrogen atoms occurs within stars. And planets are the products of dead stars that have burned through their supplies of hydrogen, helium, and carbon. Planets are a product of this.