HSBC Interview Question

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