EWC's core mechanism involves adding a quadratic penalty term to the loss function during new task learning. Crucially, it leverages the Fisher Information Matrix (FIM) to quantify the importance of each neural network weight for previously learned tasks. Weights deemed more important by the FIM are more heavily penalized for changes, effectively preserving critical knowledge.