The rank of a matrix is the maximum number of linearly independent rows or columns in the matrix. It provides information about the dimension of the vector space spanned by those rows or columns.