module

An Angular Module is a group of connected qualities. Angular Module packs multiple various components and services under a single context. E.g, animation-related functionality can be formed into single modules and Angular already provides a module for the animation-related functionality, BrowserAnimationModule module. An Angular application can have a lot of modules but only one module can be set as the root/main module, which will bootstrap the application and then call other modules when required. A module can be constructed to approach functionality from other modules. In brief, components from any module can access components and services from any other modules.

The following chart shows the relation between modules and components:

module

the relationship of a module and component

Let's inspect the root module of the application.

root module

root module code in the file app.module.ts;
Readingmine is platform of best editors, well explained.