Once you create installation media, you can boot using it and then you can format existing partitions and perform a fresh installation of Windows in your machine.
If you want to format and clean install Windows operating system in your computer system, you need an offline ISO file (disc image file) of Windows to create an installation media such as bootable USB drive or a DVD.