A self-contained part that can be joined to others. A module knows its own edges.
Latin modulus (a small measure), the diminutive of modus (measure); a self-contained part sized to be joined to others.
A part sized to know exactly where it ends — the whole of modularity depends on that self-knowledge.