Gradient Episodic Memory (GEM) was developed to combat catastrophic forgetting, a phenomenon where neural networks lose previously acquired knowledge when sequentially trained on new tasks. This leads to severe performance degradation on older tasks, a critical challenge in continual learning.