Meaning: This sentence is describing how galaxies move in space. It's like they are dancing a graceful waltz in the cosmos.
Choice of Words: "Galaxies" are vast collections of stars, gas, and dust held together by gravity. "Swirled" is a verb that describes the spiral or circular motion of the galaxies. "Cosmic waltz" refers to the graceful and majestic movement of the galaxies in space.