DoubleVerify interview question

How does Dependency Injection work?