The nebular hypothesis is the most widely accepted model in the field of cosmogony to explain the formation and evolution of the Solar System (as well as other planetary systems). It suggests that the Solar System formed from nebulous material.
the formation of the universe
The theory you are referring to is known as the "interstellar cloud theory" or the "capture theory." This theory suggests that a passing star disrupted a nearby interstellar cloud of gas and dust, causing material to be pulled into the forming Sun, leading to the birth of our solar system.
The nebular hypothesis was proposed by Immanuel Kant and later developed by Pierre-Simon Laplace in the late 18th and early 19th centuries. It suggests that the Solar System originated from a rotating cloud of gas and dust, known as the solar nebula.
The events that make up the nebular hypothesis include the collapse of a nebula of gas and dust due to gravity, the formation of a protostar at the center, the spinning of the protostar into a disk, and the accretion of material in the disk to form planets and other celestial bodies.
The formation of the solar system from a huge cloud of dust and gases is called solar nebular hypothesis. This theory suggests that a rotating disk of gas and dust collapsed under its own gravity, forming the Sun and planets.