It is measured by the angle between two lines of observation. Nearby objects have a larger parallax than more distant objects when observed from identical positions, so parallax can be used to determine distances.