b
Refactoring is the process of modifying a previously created software system without altering its external behaviour.
However it does improve the internal structure.
It improves the design of the code after it has been written by removing redundancies, unused design elements, unnecessary algorithms, inappropriate data structures and minimizing the chances of introducing bugs.