Yii Modules in Craft, samples?
In the context of Craft CMS, Modules typically would be used for adding functionality to the website itself. As such, you'd use it for things that are specific to that project. Check out the article Enhancing a Craft CMS 3 Website with a Custom Module for details.

You can also generate your module scaffolding via pluginfactory.io