It’s true: a thick wall of interstellar dust completely hides the other side of the Milky Way. So how can telescopes photograph galaxies billions of light-years away?
The answer comes down to the shape of the Milky Way, and where telescopes are pointed.
Think of it like standing in the middle of a large, foggy forest. If you look horizontally in any direction, the thousands of tree trunks and the thick fog completely block your line of sight. You cannot see the edge of the forest, let alone whatever is on the other side of it. But if you tilt your head and look straight up through the branches, the fog is thin, the air clears quickly, and you can easily see the moon, the stars, or distant clouds.
The Milky Way works exactly the same way. The galaxy is shaped like a giant, flat pancake, and the solar system is embedded deep inside that disk.
When astronomers look along the plane of the disk—looking "horizontally" through the pancake—they are looking through the thickest part of the galaxy. The view is entirely blocked by billions of stars and opaque clouds of gas and dust. In astronomy, the region of the sky obscured by this dust is historically called the "Zone of Avoidance," because early astronomers could not see any other galaxies in that direction.
But that dust and gas is almost entirely confined to the flat plane of the galactic disk.
If telescopes are pointed perpendicular to the disk—looking "up" or "down" out of the pancake—there is almost no dust in the way. Once the line of sight punches through the relatively thin layer of local stars immediately above or below the solar system, the view opens up into the vast void of intergalactic space.
In those directions, the universe is highly transparent. By pointing telescopes away from the dusty plane of the Milky Way, astronomers can peer through these clear windows and see the rest of the universe clearly.