Usually, people perform a factory reset in their Android phone whenever they make their mind to sell the phone to any other person. However, factory reset is useful in many ways such as -
Improves your phone’s performance
It is helpful to fix different types of major and minor issues
Helps you to fix the screen lock pattern and password
It can troubleshoot phone lagging or freezing issues after an update.