When two galaxies merge, their supermassive black holes sink toward the center of the result, and will also eventually merge into one, giving off gravitational waves in the process.
NASA/CXC/A.Hobar