Parallax is the perceived change in position of an object seen from two different places.
In astronomy, annual parallax is the only direct way to measure distance to stars outside the solar system.In essence, parallax is the perceived shifting phenomenon which occurs when an object is viewed from different positions.
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.