The Lie algebra with $[a,b]=c$ is the $3$-dimensional Heisenberg Lie algebra $\mathfrak{h}_1$. It has a faithful linear representation given by $$ a = \begin{pmatrix} 0 & 1 & 0 \\\ 0 & 0 & 0 \\\ 0 & 0 & 0 \\\ \end{pmatrix}, \quad b = \begin{pmatrix} 0 & 0 & 0 \\\ 0 & 0 & 1 \\\ 0 & 0 & 0 \\\ \end{pmatrix}, \quad c = \begin{pmatrix} 0 & 0 & 1 \\\ 0 & 0 & 0 \\\ 0 & 0 & 0 \\\ \end{pmatrix}, $$ see here. Obviously this matrix Lie algebra is given by $\mathfrak{n_3}$, so that $\mathfrak{n_3}\cong \mathfrak{h_1}$.