Temporary memory in a computer refers to the volatile memory that is stored by a random access memory (RAM) chip. As the name ‘temporary’ suggests, the memory does not store data for long. When the computer is shut down before saving the data, the data will be lost. Therefore, users need to save data on the permanent storage devices regularly as they manage it to avoid loss.
So your answer is Random Access Memory (RAM)
Hope this helps :)