Pergunta de entrevista da empresa smallcase

Why to use `key` when returning UI elements by looping over an array?