swapon enables the swap file for the current session, so the kernel can page memory out to it immediately. This is step four of the swap sequence (fallocate, chmod 600, mkswap, swapon). Activation does not survive reboot until you add a line to /etc/fstab.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.