What is Dependency Injection and why is it used?
Dependency Injection (DI) is a design pattern that allows you to inject dependencies
(services) into classes instead of hard-coding them.
🔹 Promotes loose coupling
🔹 Enhances testability
🔹 Encourages separation of concerns