Pergunta de entrevista da empresa Leggett & Platt

what is the difference between retain and assign?