A matrix is a two-dimensional object. In other words, we can store data in a matrix in both rows and columns.

See that? We just printed out a matrix with 2 rows and 3 columns.