A sitemap index is a parent sitemap file that references several individual XML sitemaps. It is needed when a website exceeds the size limits of a single sitemap.
A is a parent file that bundles not individual URLs but several . It is used when a website exceeds the limits of a single sitemap: at most 50,000 URLs and 50 MB uncompressed.