Refactoring is a methodical process for reorganizing a body of existing code and modifying its internal organization without changing its external behaviour. It is a more specific technique of restructuring. It is based on the use of small behaviour-preserving transformations (called refactorings). Refactoring should not break your code.
As a software developer, Refactoring means splitting my code into modules to reduce the size of the code, or adopting other appealing and simple alternatives in writing my code. This means it is easier to add new features to my codebase.