First question did explain that arrays held collection data, but I like knowing the bigger picture of its importance.
So in my quest of truth of the bigger picture I read a blog post explaining data structures. In short different situations require different data structures. Different types of data structures trade off one property for another.
Stacks and Queues are array-like structures that differ only in how items are inserted and removed. Linked Lists, Trees,and Graphs are structures with nodes that keep references to other nodes. Hash Tables depend on hash functions to save and locate data.
Linked lists are optimal for storage and can be made into stacks and queues (linear time). At the other, no other structure can match the search speed of hash tables (constant time). Tree structures lie somewhere in the middle (logarithmic time), and only a graph can portray nature’s most complex structure: the human brain (polynomial time). Knowing when to use which data structure is a key skill.<div class='sharedaddy sd-block sd-like jetpack-likes-widget-wrapper jetpack-likes-widget-unloaded' id='like-post-wrapper-155635758-229-5d076bfece8a8' data-src='https://widgets.wp.com/likes/#blog_id=155635758&post_id=229&origin=trilamanila.com&obj_id=155635758-229-5d076bfece8a8' data-name='like-post-frame-155635758-229-5d076bfece8a8'><h3 class="sd-title">Like this:</h3><div class='likes-widget-placeholder post-likes-widget-placeholder' style='height: 55px;'><span class='button'><span>Like</span></span> <span class="loading">Loading...</span></div><span class='sd-text-color'></span><a class='sd-link-color'></a></div>