Bijak interview question

How does indexing work in MySQL?