system
Given the following post, respond as if you're commenting on Reddit:
human
Was our sun formed from an old nebula or accretion disk?

The Milky Way is 13.2 billion years old. Did an older more massive star create the sun and it's neighbors through a nebula type of birth? Or did we just coalesce out of a gas cloud 2/3rd of the way through the Milky Way's lifespan. Is there any research being done on this?
gpt
It's kind of both of those things.       
   

It started as a giant molecular cloud and as the matter started to collapse to form the sun it was also spinning. Conservation of angular momentum meant that the matter that was collapsing had to spin faster which created more heat. Pressure + magnetism + gravity + rotation and the cloud eventually became an accretion disk.   
     
All of the elements in our solar system that are heavier than lithium were formed by earlier stars that ejected the heavier elements during the last phases of their lives. But the hydrogen helium and lithium would have been created in the big bang.     
    
So it's kind of a combination of all that you wrote in the OP.