The primary goal of refactoring is not to add new functionality to an application, but rather make it more efficient and easier to maintain.

Reducing technical debt and making it more extensible can improve the speed at which new features are added in the future and lower the cost to maintain the application.