Bupa interview question

Explain Dependancy Injection pattern and when and why you would use it.