In mathematics, a module is a generalization of the notion of vector space in which the field of scalars is replaced by a ring. The concept of a module also generalizes the notion of an abelian group, since the abelian groups are exactly the modules over the ring of integers.