How did the planets form?

Question 12 options:

None of these answers are correct


Large stars had gravity and brought matter together


The planets were instantly created during the big bang


Gravity pulled small bits of rock and dust together to form a larger mass