Agrando interview question

Can you explain the difference between map and forEach in js.