In this question I refer to a "commutative ring with a 1, not equal to 0" as a ring.
I have seen it mentioned a couple of times that it is more useful to think of rings as objects that contain ideals rather thinking about the elements at all. For example in some answers on thie site, they will say "here is an element-free approach". Why is this a good idea and what are the motivations behind it? From a group theory point of view it would be weird to ignore the elements, it sounds like we are just losing information. As I understand it, rings are useful because we can study number theory with them, but how could we do that element-free.
References are welcome. Thanks.