How enable Swap on a Debian 12 VPS

Swap space under Debian (and other GNU/Linux based operating systems) is a form of virtual memory. This means that if the system runs out of physical memory (RAM), then it will transfer some of the lesser used data in RAM to this space.