Genomics technologies

Several DNA libraries are pooled in one sequencing run. What is the principal purpose of assigning each library a distinct index?