Pergunta de entrevista da empresa Swiggy

What are the differences between overfitting and underfitting?