Data Structure are used in computer science for various tasks, including storing information, representing hierarchical data, and providing efficient algorithm for operations such as insertion, deletion and searching.Different types of data structures are suited to different kinds of applications, and some are highly specialized to specific tasks.