Answer:
Massive clouds of hydrogen gas/dust are pushed together randomly by solar winds and over millions of years their weak gravitational forces pull them closer and closer, getting stronger and stronger as the protostar becomes more dense until it finally implodes violently, the pressure at it's core reaching temperatures of many millions of degrees, which is enough to cause thermonuclear reaction, thus igniting a new star.