indexes are for example fields in table or document which are located in low latency storage (for example cached in RAM) in order to be quickly accessed for querying or other manipulation
for example in SQL world primary and foreign keys are also by default indexes because they are often used in where or join clause therefore they needs to be quickly accessed to speed up data traversal