QR decomposition is a method of decomposing a matrix into a product of two matrices: an orthogonal matrix Q and an upper triangular matrix R. This technique is particularly useful in solving linear systems and performing least squares approximations, as it provides a way to simplify calculations and improve numerical stability.