Which process is responsible for the formation of Earth?
A. Accretion of small bodies called planetesimals
B. Conglomeration of dust and gas in the solar nebula
C. Collision of two medium-sized moons
D. Massive eruptions of magma which built up Earth's rocky surface
E. Implosion of a nearby supernova