Why do we need data structures?

Data structures are data+operations you can perform on data. Data structures are used everywhere, there are several examples for it. One of the simplest example is phone book in your phone, the contacts are saved in a linked list and they may be sorted alphabetically by sorting linked list. Another example is CPU scheduling where each process is stored in the form of queue. A data structure called ‘trie’ is used in google search for fast search there are numerous examples out there