@MikeKaspari here is a good explanation for population 3 stars (the first stars that formed) - they themselves consisted of H + He mainly, but they did produce the first heavier elements! That said, given when the solar system was formed, the material most we are made off was processed at least one more time...
@MikeKaspari Whoops, link did not copy - here it is: https://astronomy.swin.edu.au/cosmos/p/Population+III