Virtual memory is not a separator between logical and physical memory
Actually in a CPU RAM is called Physical Memory and when we create a process Logical Memory is created. Now suppose we create one process with 6 block sequentially. But it is not guaranteed that those 6 blocks are also sequentially present in RAM. To connect between Physical address with Logical address, we need Page Table. Page table maps Physical address to Logical address.
Now, RAM may not contain all logical address of the process. If we are not getting the page that we needed, then it is called Page Fault of the process. In the page table those pages are indicated as Dirty Bit.
To overcome page fault we need to swap in those pages, from Secondary memory to Main memory.And those are done by FIFO, LRU,LFU page replacement policies.