In ring theory, the notion of "ideal" corresponds precisely with the notion of "kernel of ring_homomorphism".
This result is analogous to the fact from group theory that normal subgroups are the same thing as kernels of group homomorphisms (proof).
Let be a ring homomorphism between rings and . We claim that the kernel of is an ideal.
Indeed, it is clearly a subgroup of the ring when viewed as just an additive group [1] because is a group homomorphism between the underlying additive groups, and kernels of group homomorphisms are subgroups (indeed, normal subgroups). (Proof.)
We just need to show, then, that is closed under multiplication by elements of the ring . But this is easy: if and , then , so is in if is.
That is, after removing the multiplicative structure from the ring.