Zippi interview question

Define unit testing and how it is used?