Terrestrial planet formation models indicate Earth went through a sequence of major growth phases: accretion of planetesimals and
planetary embryos over many tens of millions of years; a giant impact that led to the formation of our Moon; and then the late bombardment, when giant asteroids, dwarfing the one that presumably killed the dinosaurs, periodically hit ancient Earth.