Pergunta de entrevista da empresa Amazon

Explain Overfitting, when does it happen? how can you avoid it