What is TestNG and what is its use?

What is TestNG and what is its use?

TestNG is Open Source Unit Test framework developed with the Inspiration of JUnit and NUnit. When we build Test Automation framework using Selenium and TestNG , it helps to organise Test Cases, Generate Reports and its annotaions helps to Setup Test Configuration and DataProvider for pass data to Test cases.