Red Hat Interview Question

How are indexes used in MySQL?