Cosmic collision of galaxies