Concept Flow - Bean concept in Spring
Start Application
Spring Container Initializes
Scan for @Component/@Bean
Create Bean Instances
Inject Dependencies
Beans Ready to Use
Application Runs Using Beans
Shutdown -> Beans Destroyed
Spring starts, scans for beans, creates and injects them, then runs the app using these beans.