A module is a collection of functions that provide additional functions to the WHMCS services. It is most commonly used to integrate with third-party services and APIs.