Page Factory is an inbuilt Page Object Model concept for Selenium Web-Driver but it is very optimized. Here, you follow the concept of separation of Page Object Repository and Test Methods.

Additionally, with the help of the Page Factory class, I will use annotations @FindBy to find Web-Element.
For implementation of Page Object Model with Page Factory in Selenium Web-Driver use below link:
https://www.guru99.com/page-object-model-pom-page-factory-in-selenium-ultimate-guide.html
https://www.guru99.com/page-object-model-pom-page-factory-in-selenium-ultimate-guide.html