Swap is the same as "virtual memory" on Windows. Once a partition is formatted as swap, it can't be used for anything else (until you reformat it).It is also possible to use a swap file on Linux, although this is less common than using swap partitions. See here.