The rank-nullity theorem is one of the most important theorems in linear algebra. It links the fundamental subspaces, the image and kernel together.
For some linear transformation :
So the rank of a matrix (which we saw in Gaussian elimination) is the dimension of the image of a transformation. And the dimension of the nullspace is called the nullity.