The gravity created Sun when 99% of the gas and dust materials we're gathered into the center of a flattened disc during the formation of the solar system.
This is because the Sun is characterized to behave been formed through the following process:
The nebula broke down under its gravity. Nebula is a combination of gas and dust.
From the breakage of Nebula, the cloud spun and formed into a flat disk, then the sun subsequently formed at its center.
Hence, in this case, the correct answer is option C "Sun."