Code Optimization: It makes code optimized, we can retrieve/sort the data easily. Random access: We can get any data located at any index position.