Answer: BeanFactory is the underlying IoC container. FactoryBean is a way to create Beans, helping to implement complex initialization logic