Data structure is a logical relationship between individual data elements with the help of data structure. We can maintain and manipulate the data in a structured form. We can organize the data,we can merge the data and we can retrieve the data.
The data structures are classified into two categories
1)    Linear data structure
2)    Non-linear data structure
Linear data structure:- linear data structure, the data is maintain and manipulated in a linear fashion.
Ex:-array, stack,queues, linked list etc.
Non linear data structure:- the data elements are maintained and manipulated in a non linear fashion.
Ex:- tree, graph.