A data structure is a format for organizing and storing data. General data structure types include the array, the file, the record, the table, the tree, and so on.
The Data structure is designed to organize data to suit a specific purpose so that it can be accessed and worked with in appropriate ways. In computer programming, a data structure may be selected or designed to store data for the purpose of working on it with various algorithms.