The process of restructuring existing computer code to improve its internal structure without changing its external behavior. It enhances code readability, maintainability, and performance.