A parsec is a unit of distance, e.g., to stars, that is generally used
by astronomers rather than light-years. It was developed for parallax
measurements to stars, being distance corresponding to a parallax
of one arcsecond, i.e., if a star shows a parallax of one arcsecond,
it is one parsec from the Sun.
A parsec is approximately:
3.261564 light-years (effectively, the number of years for light to travel one parsec).
If a star appears to move back and forth
two arcseconds over the course of a year
as the Earth moves to and from a spot
2 AU away
(1 arcsecond parallax angle),
the star would be 1 parsec distant.
If the apparent movement were half that,
then the star would be two parsecs distant and if a third
of that, three parsecs distant.
The International Astronomical Union (IAU) has defined its standard parsec to be 64800/π AU
(64800/π is the number of radians in an arcsecond and use of that
factor is a small angle approximation of the tangent of that angle).
Also, an IAU resolution has defined its standard AU to be 149597870700
meters, which is a nominal value of the average distance between
the Earth and Sun.
These make the parsec a distance unit derived from the standard
SI meter (though this standard parsec is an irrational number
of meters, 1/π being a factor), which makes the standard parsec
stable regarding any improved determinations (or changes) of
Earth orbit.