Refactoring is the disciplined improvement of internal code structure without intentionally changing external behavior.
Teams refactor to improve readability, testability, maintainability, design quality, and long-term development speed.
Related concepts include Source Code, Syntax and Variable.