Pergunta de entrevista da empresa Babbel

Why would you use dependency injection?