Why Application refactoring is so important?

Refactoring is basically restructuring or altering the internal code of a program. It tends to improve the overall quality of the code base so that it can become easier to maintain, improves its readability, and can extend over time.