Centuries ago the stars were believed to reside just beyond the planets of our solar system.It never fails to astound me how big the Universe is—how far away even the nearest stars are, let alone other galaxies scattered from here to near infinity….
How do we know how far away celestial objects are? This shouldn't be taken for granted, as it's not as straightforward as sounding the depth of the ocean floor with sonar, or determining the range to an object by bouncing radio waves off it and timing the reflection.
In fact, we have "pinged” the nearest celestial objects with radar to determine their distances very accurately. Examples are the Moon and Venus, where round-trip lightspeed travel is measured in seconds or minutes.
Before radar, the scale of the Solar System had to be determined geometrically, by observing events like Venus or Mercury transiting the face of the Sun from different locations on Earth and triangulating. Even this technique requires telescopes, which we've had only four hundred years. Before that, figuring out distances to just about everything except the Moon was mostly guesswork. In fact, it wasn't too many centuries ago that the entire Universe was believed to be not much larger than the Solar System—the Sun and it's nine…excuse me…eight planets—as we know it today.
Once the distance from Earth to the Sun was figured out, that length (the "Astronomical Unit”) in effect became a basic measuring rod for working out distances to everything else, by one means or another.