The conversation between human and AI assistant.
[|Human|] Explain in one sentence the difference between a module and a function.
[|AI|] A module is a file containing a set of functions, variables and class definitions that can be imported and used in a program, while a function is a block of organized, reusable code that performs a specific task within a program.
[|Human|] 
Explain in one sentence the difference between a module and a function.