How to Create Module in Magento 2
The module is a structural element of Magento 2. It’s a logical group – that is, a directory containing blocks, controllers, helpers, modules that are related to the specific business features. The purpose of a module is to provide specific product features by implementing new functionality or extending the functionality of other modules.
Each module is designed to function independently, so the inclusion or exclusion of a particular module does not typically affect the functionality of other modules.