gas and dust in interstellar nebulae can form-
Nebula Most nebulae are of vast size, some are hundreds of light years in diameter.[3][not in citation given] A nebula that is barely visible to the human eye from Earth would appear larger, but no brighter, from close by.[4] The Orion Nebula, the brightest nebula in the sky that occupies a region twice the diameter of the full Moon, can be viewed with the naked eye but was missed by early astronomers.[5] Although denser than the space surrounding them, most nebulae are far less dense than any vacuum created on Earth â€“ a nebular cloud the size of the Earth would have a total mass of only a few kilograms. Many nebulae are visible due to fluorescence caused by embedded hot stars, while others are so diffuse they can only be detected with long exposures and special filters. Some nebulae are variably illuminated by T Tauri variable stars. Nebulae are often star-forming regions, such as in the "Pillars of Creation" in the Eagle Nebula. In these regions the formations of gas, dust, and other materials "clump" together to form denser regions, which attract further matter, and eventually will become dense enough to form stars. The remaining material is then believed to form planets and other planetary system objects.
Nebular hypothesis 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 theory was developed by Immanuel Kant and published in his Allgemeine Naturgeschichte und Theorie des Himmels ("Universal Natural History and Theory of the Heavens"), published in 1755. Originally applied to the Solar System, the process of planetary system formation is now thought to be at work throughout the Universe.[1] The widely accepted modern variant of the nebular hypothesis is the solar nebular disk model (SNDM) or solar nebular model.[2] It offered explanations for a variety of properties of the Solar System, including the nearly circular and coplanar orbits of the planets, and their motion in the same direction as the Sun's rotation. Some elements of the nebular hypothesis are echoed in modern theories of planetary formation, but most elements have been superseded.