When you install Linux, the setup process will likely add a swap partition to the hard disk along with the partitions for Linux itself. But what is this swap partition used for and is it really necessary?
Full article here:
What You Need to Know About Swap Partitions on Linux (Make Tech Easier)