The correct answer is:
B. Gravitational forces brought together several moon-sized bodies, called planetesimals, to form larger bodies that became planets.
During the formation of the solar system, gravity played a crucial role in accumulating dust and gas into larger structures. Small bodies, known as planetesimals, collided and merged under the influence of gravity, gradually building up to form the planets we see today.