Pergunta de entrevista da empresa Container and Packaging

What is dependency injection, and why would you use it?