Code refactoring is the process of modifying the internal structure of the code in a way that its external structure remains unaffected. The purpose of code refactoring is to clean and refine the code to make it more readable and understandable.
Code refactoring helps minimize technical debt (i.e., the cruft in the code that leads to messy and unstructured code fragments).
Learn more about Code Refactoring in Agile