To refactor means to improve the readability, reusability, or structure of program code without altering its functionality.