Sinequa interview question

Explain virtual memory and its advantages.