Transamerica interview question

How does dependency injection work in Spring?