Resource Data interview question

Explain dependency injection.