The purpose of indexing is to describe and identify documents in terms of their subject contents, using standard rules and procedures. It helps users easily access relevant information within a collection or book.