In two dimensions, we often write a line in the form
$$y = mx + b.$$
However, there are other equivalent forms. Given a point $(x_0, y_0)$ on a line and the slope of the line, we can also write
$$y - y_0 = m(x - x_0).$$
A disadvantage of this formula is that it cannot express lines where $x$ is constant, for example, the line $x=3$ (this problem arises because we have defined $y$ as a function of $x$). To remedy this problem, we might instead write the line in parametric form:
$$\left\{\begin{array}{}y = y_0 + m_yt\\
x = x_0 + m_xt\end{array}\right.$$
We can make this formula slightly more compact by using vector notation:
$$\langle x,y\rangle = \langle x_0, y_0\rangle + t\langle m_x, m_y\rangle.$$
In this form, we call the vector $\langle m_x, m_y\rangle$ the direction vector. It turns out that the direction vector is a useful analog of slope in higher dimensions: in two dimensions, the ratio between the change in $x$ and $y$ is $\Delta x:\Delta y = m_x : m_y$, and this is true even if $\Delta x = 0, \Delta y \not= 0$.
In three dimensions, we have
$$\langle x,y,z\rangle = \langle x_0, y_0, z_0\rangle +t\langle m_x, m_y, m_z\rangle.$$
For your particular example, we can pick $\langle x_0, y_0, z_0\rangle = \langle 5,5,5\rangle$, $\langle m_x, m_y, m_z\rangle = \langle 1,2,3\rangle - \langle5,5,5\rangle= \langle-4,-3,-2\rangle$, so the line can be expressed as
$$\langle x,y,z\rangle = \langle 5,5,5\rangle +t\langle -4,-3,-2\rangle,$$
and the line has the direction vector $\langle -4, -3, -2 \rangle$. Observe that by varying the value of $t$, we can get other points on the line: $t=0$ corresponds to $p_1$, $t=1$ corresponds to $p_2$, and other $t$ values will correspond to other points.
You can find more information about writing lines in three dimensions as vector functions here.
arccosof these? – Alaa M. May 11 '19 at 09:21