A swap or page file extends virtual memory by holding program data and instructions that don't fit in physical RAM. When RAM is full, the OS moves less-used pages to disk, retrieving them when needed. This prevents crashes when memory demands exceed physical RAM. Option A refers to print spooling, C describes a consequence of insufficient memory, and D is about printer queues.