Allied Telesis interview question

Different between thread and process