i) Components define views, which are sets of screen elements that Angular can choose among and modify according to your program logic and data.
ii) Components use services, which provide specific functionality not directly related to views. Service providers can be injected into components as dependencies, making your code modular, reusable, and efficient.
Modules
Every Angular app has a root module known as AppModule. It provides the bootstrap mechanism that launches the application.
However, every application contains many functional modules.
Some important features of Angular 10 Modules:
i) Angular NgModules import the functionalities form other NgModules just like other JavaScript modules.
ii) NgModules allow their own functionality to be exported and used by other NgModules. For example, if you want to use the router service in your app, you can import the Router NgModule.