A matrix is a rectangular array of numbers, symbols, or expressions, arranged in rows and columns. It is used in various areas of mathematics, including algebra and calculus, to solve systems of linear equations and to perform other mathematical operations.