Approximately 10 billion years ago, early galaxies merged to form larger galactic structures that influenced the later development of the Milky Way and nearby galaxies. Observations of ancient light from distant galaxies provide evidence for these mergers. Gravitational interactions during mergers caused gas and dark matter to accumulate on larger scales and accelerated star formation through gas cloud collisions and compression. This process contributed to hierarchical formation of massive galaxies observed today and represents a step in cosmic evolution between first post-Big Bang galaxies and organized galactic structures in the local universe.