 Basic examples of modules are ideals, including the ring itself.Although similarly defined, the theory of modules is much more complicated than that of vector space, mainly, because, unlike vector spaces, modules are not characterized (up to an isomorphism) by a single invariant (the dimension of a vector space).In particular, not all modules have a basis.