why are galaxies visible
Because a galaxy is a large collection of many stars, and almost every star radiates some visible light.