Yes, except the sun is so hot that most of the atoms of the gases have lost some or all of their electrons, making it called a plasma not a gas.
from a cloud of gas and dust
Yes, that's correct! The Sun, like other stars, formed from a cloud of gas and dust in space. This cloud is often referred to as a "stellar nursery" or a "solar nebula." Over time, the gravitational forces within the cloud caused it to collapse and condense, forming the Sun at its center. The leftover material in the disk around the forming Sun eventually came together to create planets, moons, and other objects in our solar system.
Nebular model
It was there first - the sun was always the center of the dust/gas cloud that formed the solar system.
The earth and the sun formed from the same huge cloud of interstellar gas and dust, but the sun grabbed most of everything, and had the strong gravity to hold in hydrogen and helium. The earth condensed separately in the huge disc that became our solar system, forming a rocky planet with an iron core. When the sun turned on, the solar radiation cleaned up the inner solar system and pushed out the gas and dust that remained. So - the earth and the sun formed at the same time from the same dust cloud, but have very different compositions. And the earth was never physically a part of the sun.
They believe a large gas cloud in space was condensed into what we now call the sun. Chunks of this cloud flew into orbit around the sun and eventually condensed into planets.
Emanuel Swedenborg, who was Swedish as his name suggests.
The planets origanally moved because the gas cloud they were formed in was spinning
Astronomers Believe That The Solar System Began As A Huge Cloud Of Dust And A Gas Called ''NEBULA''
Yes, the solar system including our Sun and planets is believed to have formed from a large disk of gas and dust called a proto-disk or proto-solar disk, due to gravitational effects. It is currently thought that several stars formed from the same cloud as our Sun.
From the collapse of a nebula made of gas and dust. As the cloud contracted one dense clump formed in the center which would become the Sun. Everything else was made from the leftovers.
As far as we know, Jupiter (like all the other planets) condensed out the same gas cloud that formed the sun.