We can see Cepheid variable stars throughout the Milky Way and in nearby galaxies, so we can use parallax for the nearby ones, carefully calibrate the pulsation relationship, and then use the more distant ones to tell us the distances to other galaxies.

