Overfitting happens when a model learns from noise, not the real pattern. It does well on training data but badly on new data. To prevent it, you can use regularization or dropout layers. Reducing the model's complexity also helps.