Temporary files (abbreviated as temp files) are created by most applications that are in use today.
Temp files are generated due to the fact that the app could not allocate sufficient memory for its operations or the applciation needs to process data larger than the architecture's address space.
However, such files take up a lot of hard disk space, therefore users will frequently need to erase them from their Macs.
There are numerous tools to be used to remove temp files and to free up the corresponding HDD space.