Refactoring is the process of restructuring existing computer code without changing its external behavior. In cloud computing, it often means modifying the application to better leverage cloud- native features and services. This can address user demand and reduce maintenance costs by making the application more scalable, resilient, and manageable.