Ability Network Interview Question

Describe the factory pattern.