no, a swap partition is a separate partition on your hard drive used to act as a cache for when RAM isnt enough, although you can make a RAM drive in linux quite easily
most distro's will make a swap partition for you automatically, 2 times RAM is plenty up to about 512mb, over that its likely overkill