Innova Solutions interview question

Why do we use indexs in database