overfitting means the model is memorizing instead of generalizing. the model could also overfit to the validation data by adjusting itself slightly until the validation set is perfect but others would fail.