How to use an array in a Bash script
One of the most important concepts in programming is the concept of arrays. An array can be thought of as a collection of data recorded together. As the set of values in an array are kept together, they are usually operated on jointly or in succession. They are handy in real-life scenarios, as we often have to deal with certain data sets.
Source: FOSS Linux