According to one longstanding theory, our Solar System’s formation was triggered by a shock wave from an exploding supernova. The shock wave injected material from the exploding star into a neighboring cloud of dust and gas, causing it to collapse in on itself and form the Sun and its surrounding planets.