Pregunta de entrevista de Tata Consultancy Services

What is the purpose of using @ComponentScan in the class files?