So, the theory is, that all elements other than Hydrogen and some Helium are created in stars. When a star is young it fuses Hydrogen, creating Helium... then as the star's death nears it begins fusing helium.... creating lithium, beryllium, etc... Then, when the star goes supernova, it scatters the elements it created into enormous clouds which form new solar systems from the atoms it created.
My question is this:
How can that theory explain oxygen? Wouldn't oxygen combust and burn the moment it's created inside of a star? How do oxygen atoms survive the inferno and subsequent explosion?