HubSpot Interview Question

How and why would you use indexing on a table?