HSBC interview question

What is component scan and how is it different from @component