S&P Global Interview Question

What are indices and how do they function