The correct answer is:
C. Gravitational forces brought together several moon-sized bodies, called planetesimals, to form larger bodies that became planets.
Gravity played a crucial role in the process of planetary formation, as it facilitated the accumulation of dust and gas in the protoplanetary disk around the young Sun, leading to the formation of planetesimals and eventually larger planetary bodies.