Properly executed refactoring does not affect the functionality of the software. It improves the internal structure of the code while maintaining its external behavior.