Why TestNG need to be used in Selenium?

Why TestNG need to be used in Selenium?

As Selenium has built-in hardware for creating test reports, you must rely on an external framework like TestNG to generate test reports and simplify all of your testing requirements such as functional testing, regression, end-to-end testing, and more.