Pregunta de entrevista de HSBC

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