It allows to keep two objects focused by the camera at all times regardless of whether they are in motion.
The camera draws a line from one object to the other and focuses on a point on that line, then uses a cross product to determine the perpendicular vector and move away based on the distance to which both objects meet, thus guaranteeing that both objects will always remain in the same position on the screen.