What did gravity create when 99% of the gas and dust materials were gathered into the center of a flattened disc during the formation of the solar system?

When 99% of the gas and dust materials were gathered into the center of a flattened disc during the formation of the solar system, gravity created the Sun.

When 99% of the gas and dust materials were gathered into the center of a flattened disc during the formation of the solar system, gravity created a protoplanetary disk.