What Is The Function Of a Scratch File?

I have seen a few scratch files whiles working in Linux operating system environment. I do not understand what a scratch file does, so I would like someone to explain this to me. Could you kindly also mention the purpose of having a scratch file on my system and how I can take advantage of its functionality to get things done efficiently?
