Useful to save the current directory, go somewhere else, do stuff and then come back to the original directory.
It works awesomely in bash scripts too!