Not all galaxies are flat, and the stars in galaxies are sperated by enormous distances.
It’s the difference between Saturn and its rings. Saturn the plantet collapsed into a spheroid. The rings are pieces of stuff, not solid. Of all the stuff in the rings were thrown together into one solid clump, it would be a spheroid, too.
meco03211@lemmy.world 1 day ago
A galaxy isn’t a planet. Planets themselves are rarely perfect spheres. Earth is actually an oblate spheroid. Solar systems also exhibit planar geometry. They all spin. The angular momentum is enough to overcome the gravitational pull. If that momentum was not enough to overcome gravity, all that mass would collapse into a spherical object. Depending on how much mass would determine what kind of celestial body it is.