Capgemini interview question

What is factory deaign pattern?