You can also choose whether to remove the files or wipe the whole drive making your files unrecoverable. You can choose to thoroughly clean the system or can refresh it without effecting your personal files and folders.
Windows 10 provides you an easy way to reset your system.