A diagonal matrix is a square matrix in which all elements outside the main diagonal are zero, making it a simple form to analyze and compute, especially in linear algebra. Its eigenvalues are the entries on the main diagonal, and it is diagonalizable by any invertible matrix that commutes with it.