Finmatics GmbH interview question

Explain factory pattern. When and why do we need it?