Which best describes what a market index does?

Which best describes what a market index does?