I was studying elementary 3D geometry in that I read about shortest distance between two skew lines but in that the fact was used that the shortest distance between two skew lines is given by any line joining them multiplied by $\cos\theta$
Where $\theta$ is the angle between shortest distance and the random line which is considered above.
Everything is fair but I am not able to understand how the relation of two lines by cosine it's true and how to prove it