👉 A matrix is a rectangular array of numbers or other mathematical objects arranged in rows and columns, typically to represent a collection of data. Matrices are commonly used in various fields such as statistics, linear algebra, computer graphics, and machine learning for operations like matrix multiplication, vector addition, matrix inversion, etc.