How to tell if Windows 10 runs in UEFI mode or in the Legacy BIOS mode

Many modern PCs run the installed OS in UEFI mode. But almost all of them have a fallback mode which allows the hardware to be configured in the legacy mode called BIOS mode. Here is how you can tell which mode exactly is used on your Windows 10 PC.