I'm a little bit confused. Wikipedia says that Array is a data structure:
In computer science, an array data structure, or simply an array, is a data structure consisting of a collection of elements (values or variables), each identified by at least one array index or key.
Stack and queue are also data structures. Learn.js says that array can work with data structures such as stack and queue.
So, my question is... it turns out that data structure can also be structured with another data structure? Or, as far as I understand, array is a slightly different data structure, unlike stack and queue. The array structures its data by index, while stack and queue structure data by order of entry (FIFO / LIFO). And it turns out that different data structures by "type" can be structured by other data structures of a different "type"? ... Or I misunderstood something ...