The Module pattern was originally defined as a way to provide both private and public encapsulation for classes in software engineering.
Modules are an integral piece of any robust application's architecture and typically help in keeping the units of code for a project both cleanly separated and organized.