Pergunta de entrevista da empresa Elsevier

What is differences between Map and foreach?