You can also use a bootable USB to upgrade Windows 7 or 8 to Windows 10 if a previously automatic upgrade doesn’t function correctly.
Even if no such PC emergency is present, it’s a good idea to have a Windows image for data backup on a USB-capable storage medium (could also be an external hard drive) on hand.