What did gravity create when 99% of the gas and dust with materials were gathered into the center of a flat disc during the formation of the solar system the Sun the planets the asteroid belt the moons of planets

Gravity created the Sun, the planets, the asteroid belt, and the moons of planets when 99% of the gas and dust with materials were gathered into the center of a flat disc during the formation of the solar system.