Infosys interview question

Difference between Master Detail and Lookup