It's not a homework question or something, but I was wondering: groups are useful in physics and can be applied to many symmetry holding problems, fields can be used to construct vector spaces over the field. But what use do general rings have? Is it to construct modules?
Or more concretely, can someone give me an example of application of a ring.
Thanks in advance.
EDIT: Of course I know the trivial examples like $\mathbb{R}$, but since this is also a field it has its applications as a vector space or as a ground field for a vector space. What about $\mathbb{Z}[i]$ for example?