"Merging galaxies" refers to the coming together or collision of two galaxies in space. It happens when two separate galaxies, which are made up of billions of stars, draw closer due to their gravitational attraction and eventually combine to form a new, larger galaxy.
Full definition