Answer
A Nest module groups controllers and providers. Its imports and exports describe which dependencies are available to other modules.
Explanation
A provider declared in one module is not automatically available everywhere. Export it from its module and import that module where needed.
Example
@Module({ providers:[UsersService], exports:[UsersService] })