Doing a factory reset has some advantages for a few purposes. One of the big ones is wanting to remove all Data from the device.
This is handy if you plan on giving the device to someone else and don't want to give them your contacts or any other information.
In some circumstances it can even be handy to just start over especially if you have some minor issues and you assume the issues are Data related.
If rooted its a great way to wipe the Data and Cache area's to prepare to change the ROM of the device.
1. Let's begin from unlocking your screen and holding down power button.
2. Once you will see this menu, you can release the power button.
3. Now choose Reboot or Reset option by tapping on it.
4. And this is it, your device will restart now.
Sometimes your phone is not responding due to some application or other problem, in this situation you can reboot your phone.
If you want to erase your all data from your phone then you should go with factory setting restore.
This option will erase your all data.