Eligo Energy interview question

Explain how an Index / Match function works in Excel