Changing root is commonly done for performing system maintenance on systems where booting and/or logging in is no longer possible. Common examples are:

Then we mount the partitions we need and undo whatever broke your system.