What is the point of an inverted index?

It is to allow us to index some data by keywords, rather than by documents.

In that case it is “inverted”, because conventionally we search through documents to find words, not the other way around.