You could make changes on a site without having to disrupt anything. It would make it convenient to use for those of us who "experiment" with templates because we are not coders. Things tend to go bad every once and a while...
In other words the user would go through the regular process of inputing the strings of code, but before they hit the save button they hit the preview button which will give them a view of the changes without actually posting it through yet.