Complex sentence: The Sun inherited its chemical composition from the interstellar medium out of which it formed: the hydrogen and helium in the Sun were produced by Big Bang nucleosynthesis.
Split into simpler sentences: The Sun inherited its chemical composition from the interstellar medium out of which it formed. The hydrogen and helium in the Sun were produced by Big Bang nucleosynthesis.