Could you give me some examples of when overfitting and underfitting might occur in real-world scenarios? How do these impact the accuracy and performance of the model?

Free for the first 3 answer contributors

Interview question asked to Machine Learning Engineers interviewing at Course Hero, NetEase, Huawei and others: Could you give me some examples of when overfitting and underfitting might occur in real-world scenarios? How do these impact the accuracy and performance of the model?.