Stereo vision uses two (or more) cameras in order, inter alia, to be able to detect the distance of objects using triangulation.

Stereo vision – each eye sees a slightly different view

Triangulation can be used to work out the object of focus of two cameras