LexisNexis Reed Tech interview question

Explain unit testing and its benefits