What did gravity create when 99% of the gas in the materials were gathered into the centre of a flat end disk during the formation of the solar system

When 99% of the gas in the materials were gathered into the center of a flat end disk during the formation of the solar system, gravity created the Sun. The immense gravitational force within the center of the disk caused the gas and dust to collapse and form a dense, hot core, which eventually ignited and became the Sun.