A factory reset is removing all the existing data from any device and then restoring it. It will delete all your programs and files along with resetting all those apps that might be on your device and bring your device with a fresh set-up.