Scalars, vectors and unit vectors

A vector carries a direction as well as a size, so it is written as components along $\hat{i}$ and $\hat{j}$, and vectors add component by component, which is why two walks of 3 m and 4 m can end 5 m from the start.

From AP Physics C: Mechanics.