FIS interview question

Explain dependency injection and it's use to make your code and classes easy to unit test