Data structure is the way of organizing and storing data effectively in order to time and space complexity. Data is processed and organized with redundancies, duplicates, inconsistencies, orphan records and corrupt items. A data structure is introduced to reorganize, optimize, efficiently store and process output.