An array is a variable that acts like a block of data and stores different values, usually integers, in a grid-like system. The grid is a virtual representation of rows and columns with each cell containing a separate value. Many computer languages use arrays as a variable to store different types of data.
An array holds a fixed number of rows and columns, and each stored value must be of the same data type, such as integer, float, char, or string. A one-dimensional array is a single row of data and can look like (1,2,3,4,5,6) or even (carrot, potato, tomato, eggplant, bell pepper, broccoli). The number of values within the array is two or higher.
A two-dimensional array has at least two rows and two columns and would look like "(1,2,3,4,5,6),(7,8,9,10,11,12)" or "(cat, dog, cow), (bird, rat, mouse)" though each would be implemented differently in different programming languages.