So from what I've learned, it was kinda like this. A star died out, thus created a solar nebula. The nebula just basically swirled around in space for a while, loosely held together by gravity, until eventually, it began to collapse. As it collapsed, a star in somewhere nearby dyed out and...