When the solar system formed, smaller bodies joined together through collision and the force of gravity to form larger bodies called?

a) Planets
b) Asteroids
c) Comets
d) Protostars