A data structure is a specialized format for organizing, processing, retrieving and storing data. Several basic and advanced types of data structures are designed to arrange data to suit a specific purpose. A data structure may be selected or designed to store data for the purpose of using it with various algorithms.Typical base data types which are available in most computer programming languages, are generally insufficient to capture the logical intent for data processing and use. Data structures are the building blocks for more sophisticated applications. They are designed by composing data elements into a logical unit representing an abstract data type that has relevance to the algorithm or application.