Pregunta de entrevista de ALEX

When you should use Factory pattern and why?