The dust around a star is critical to forming celestial objects around it. Dust around stars contains elements such as carbon and iron which can help form planetary systems.
When a star is in its forming disk, otherwise known as the T Tauri phase, it is ejecting extremely hot winds dominated by positively charged particles called protons and neutral helium atoms. Although much of the material from the disk is still falling on the star, small groups of lucky dust particles are crashing into one another, clumping into larger objects.
Dust clumps become pebbles, pebbles become larger rocks that grind together to expand. The presence of gas helps particles of solid material stick together. Some break apart, but others hold on. These are the building blocks of planets, sometimes called "planetesimals."
Where the disk is colder, far enough from the star that water can freeze, tiny fragments of ice hitch a ride with dust. Dirty snowballs can amass into giant planetary cores. These colder regions also allow gas molecules to slow down enough to be drawn onto a planet. This is how Jupiter, Saturn, Uranus and Neptune, the gas giants of our solar system, are thought to have formed. Jupiter and Saturn are thought to have formed first and quickly within the first 10 million years of the solar system.
In the warmer parts of the disk, closer to the star, rocky planets begin to form. After the icy giants form there’s not a lot of gas left for the terrestrial planets to accrete. Planets that are rocky like Mercury, Venus, Earth and Mars may take tens of millions of years to form after the birth of the star. The details of exactly where planets prefer to form in disks is still a mystery and an ongoing area of research.
Once planets form around a star they are referred to as planetary systems, which are defined as sets of gravitationally bound objects that orbit a star. They can consist of one or more planets, but may also include dwarf planets, asteroids, natural satellites, meteoroids, and comets. The Sun and its planets, including Earth, is known as the solar system. The term "extrasolar" system and "exoplanet" system refer to planetary systems other than our own.