Module and Notion of a Module

What is a module?
What is the relationship between the notion of the module and the notion of the functional or cognitive architecture?