How are distance measured in space? (With what scientific unit?)

 Distances are measured in either one of the standard units (miles, meters, etc.,) or in AU, which is an astronomical unit, equal to the average distance between the earth and the sun, or in parsecs, which is one second of parallax arc when measuring parallax shifts, or in light years, which is the distance that light can travel in one year.