when the solar system was very young the sun was just being formed and planets had not yet been made. The solar system was mostly gas and dust. Which statement best explains how planets formed in the eatly solar system

A: planets formed frim magnetism in space that interacted with light from the stars
B: planets formed from large asteroids that had broken apart
C: planets formed from large asteroids that had broken apart
D: planets formed from small amounts of debris that were attracted together because of gravity

D: planets formed from small amounts of debris that were attracted together because of gravity