What is virtual memory?

When there are many programs running and your RAM is not sufficient enough the computer copies areas of the RAM to the hard drive in order to free some memory. The “place” on the hard drive where these copies are stored is called page file. This whole concept of swapping data between the hard drive and the RAM is known as virtual memory.