There is a difference between vectors and matrices and also a connection
Vector
A vector is an object that has both a magnitude and a direction. Example Force and Velocity. Both have magnitude as well as direction. However, we need to specify also a context where this vector lives -Vector Space. For example, when we are thinking about something like a Force vector, the context is usually 2D or 3D Euclidean world.
The easiest way to understand the Vector is in a geometric context, say 2D or 3D cartesian coordinates, and then extrapolate it for other Vector spaces which we encounter but cannot really imagine.
Vectors are represented as matrices. But a matrix is just a rectangular array of numbers and nothing else.
This matrix below is an example of a Euclidean Vector in three-dimensional Euclidean space (or $R^3$). So a vector is represented as a column matrix or a row matrix.
$$
a = \begin{bmatrix}
a_{1}\\a_{2}\\a_{3}\
\end{bmatrix} = \begin{bmatrix} a_{1} & a_{2} &a_{3}\end{bmatrix}
$$
Dot product has a specific meaning. Matrix multiplication has no specific meaning, than may be a mathematical way to solve system of linear equations Why, historically, do we multiply matrices as we do?
Coming back to dot product - Algebraically, the dot product is the sum of the products of the corresponding entries of the two sequences of numbers.
$ \text{If } \vec a = \left\langle {a_1,a_2,a_3} \right\rangle \; \text{and }
\vec b = \left\langle {b_1,b_2,b_3} \right\rangle \; \text{then } \;
\vec a \cdot \vec b = {a_1}{b_1} + {a_2}{b_2} + {a_3}{b_3}$
Which if we write in matrix form, we need to mathematically take the transpose of a vector and do 'matrix' multiplication to get the above dot product.
So coming back full circle to the question - matrix multiplication is a tool to find vector dot product (assuming we are talking about matrices in the context of vectors)
$$
a = \begin{bmatrix}
a_{1}\\a_{2}\\a_{3}\
\end{bmatrix}
b = \begin{bmatrix}
b_{1}\\b_{2}\\b_{3}\
\end{bmatrix}
a.b = ab^T=\begin{bmatrix} a_{1}b_{1} & a_{2}b_{2} &a_{3}b_{3}\end{bmatrix}
$$
https://mathinsight.org/dot_product_matrix_notation
Note
Geometrically dot product of two Euclidean vectors are the Euclidean magnitudes of the two vectors and the cosine of the angle between them
$\vec a \cdot \vec b = \left\| {\vec a} \right\|\,\,\left\| {\vec b} \right\|\cos \theta$
This is simple to visualize in Euclidean space but is true for all dimensions. If two vectors are in the same direction the dot product is positive and if they are in the opposite direction the dot product is negative. This can be visualized geometrically putting in the value of the Cosine angle.
So we could use the dot product as a way to find out if two vectors are aligned or not; which tends itself to more interesting uses