Form3 interview question

Difference between unit and integration tests, and when would you use each?