In this context, what is a ring?
From a programming point of view, imagine a type with an overloaded + and * operator. You'll be close.
An example of a ring is the set of integers, as is the set of integers mod 6, as is any field. A non-example is the set of non-negative integers.