The concat method allows us to combine elements of different arrays into a single array.