A module is a self-contained unit or component in a larger system, often used to describe a specific functional area within a program. In computer programming, it refers to a reusable piece of code that performs a particular function and can be easily integrated into other programs.