Oracle interview question

What is IOC in spring and why do we need it?