When galaxies collide, they pass through each other over hundreds of millions of years. Individual stars almost never collide due to vast distances, but gravity distorts entire systems.
Gas clouds compress, triggering massive star formation. Spiral arms stretch, warp, or vanish entirely. Over time, two galaxies can merge into a single, larger one.
Our Milky Way is on course to merge with the Andromeda Galaxy in several billion years.