👉 In astrophysics, a megaparsec is defined as the distance that light travels in one year or about 93 million years for a given object. It is an astronomical unit with a length of approximately 108 parsecs (a.k.a., light-years). This distance is used to measure distances in celestial objects such as stars, galaxies, and other celestial bodies.